Compare commits

...

3 Commits

Author SHA1 Message Date
Davide Polonio 582b694c4d feat: specify stop grade period
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-05-22 17:36:29 +02:00
Davide Polonio a814ec077b feat: add V Rising server 2023-05-22 17:36:29 +02:00
Davide Polonio 97d2f66c66 feat: add Monica as new service (#21)
continuous-integration/drone/push Build is passing Details
Co-authored-by: Davide Polonio <poloniodavide@gmail.com>
Reviewed-on: #21
2023-05-22 17:35:59 +02:00
3 changed files with 117 additions and 0 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ config/
.env .env
.idea/ .idea/
env-searxng env-searxng
.*.env

56
diary/docker-compose.yml Normal file
View File

@ -0,0 +1,56 @@
version: "3.9"
services:
app:
image: monica:4-apache
depends_on:
- db
env_file:
- .monica.env
- .env
volumes:
- data:/var/www/html/storage
restart: unless-stopped
networks:
- internal
- proxy
cron:
image: monica:4-apache
env_file: .monica.env
restart: unless-stopped
volumes:
- data:/var/www/html/storage
command: cron.sh
depends_on:
- db
db:
image: mysql:8.0
env_file:
- .mysql.env
volumes:
- mysql:/var/lib/mysql
restart: unless-stopped
networks:
- internal
volumes:
data:
driver: local
driver_opts:
type: none
o: bind
device: "/srv/docker/diary/data"
mysql:
driver: local
driver_opts:
type: none
o: bind
device: "/srv/docker/diary/mysql"
networks:
proxy:
external: true
internal:

View File

@ -0,0 +1,60 @@
version: "3.9"
services:
vrising:
image: didstopia/vrising-server:latest
container_name: vrising
restart: unless-stopped
stop_grace_period: 2m30s # Avoid data loss
environment:
# Configure the server
V_RISING_SERVER_PERSISTENT_DATA_PATH: "/app/vrising"
V_RISING_SERVER_BRANCH: "public"
V_RISING_SERVER_START_MODE: "0" # Install/update and start server
# V_RISING_SERVER_START_MODE: "1" # Install/update and exit
# V_RISING_SERVER_START_MODE: "2" # Install, skip update check and start server
V_RISING_SERVER_UPDATE_MODE: "1" # Enable update checking
# Customize the server
V_RISING_SERVER_NAME: "V Rising Clownfiesta Server"
V_RISING_SERVER_DESCRIPTION: "V Rising server for Clownfiesta clan"
V_RISING_SERVER_GAME_PORT: 9876
V_RISING_SERVER_QUERY_PORT: 9877
V_RISING_SERVER_RCON_PORT: 9878
V_RISING_SERVER_RCON_ENABLED: "true"
V_RISING_SERVER_MAX_CONNECTED_USERS: 100
V_RISING_SERVER_MAX_CONNECTED_ADMINS: 100
V_RISING_SERVER_SAVE_NAME: "clownfiesta_server_1"
V_RISING_SERVER_LIST_ON_MASTER_SERVER: "false"
V_RISING_SERVER_LIST_ON_STEAM: "false"
V_RISING_SERVER_LIST_ON_EOS: "false"
V_RISING_SERVER_AUTO_SAVE_COUNT: 5
V_RISING_SERVER_AUTO_SAVE_INTERVAL: 10
V_RISING_SERVER_GAME_SETTINGS_PRESET: "StandardPvE"
env_file: .vrising.env # For server passwords
ports:
- "9876:9876/udp"
- "9877:9877/udp"
- "9878:9878/tcp"
volumes:
- vrising_saves:/app/vrising
- vrising_data:/steamcmd/vrising
logging:
driver: "json-file"
options:
max-size: "5m"
max-file: "1"
volumes:
vrising_saves:
driver: local
driver_opts:
type: none
o: bind
device: "/srv/docker/vrising/saves"
vrising_data:
driver: local
driver_opts:
type: none
o: bind
device: "/srv/docker/vrising/data"