mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'docker-compose-update' into 'master'
Update docker-compose.yml with the same as in production by official server See merge request veloren/veloren!914
This commit is contained in:
commit
ce53be415e
@ -3,22 +3,13 @@ version: "3.5"
|
|||||||
services:
|
services:
|
||||||
game-server:
|
game-server:
|
||||||
image: registry.gitlab.com/veloren/veloren:master-server
|
image: registry.gitlab.com/veloren/veloren:master-server
|
||||||
|
container_name: veloren-game-server-master
|
||||||
ports:
|
ports:
|
||||||
- "14004:14004"
|
- "14004:14004"
|
||||||
- "14005:14005"
|
- "14005:14005"
|
||||||
deploy:
|
restart: on-failure:0
|
||||||
replicas: 1
|
|
||||||
update_config:
|
|
||||||
parallelism: 2
|
|
||||||
delay: 10s
|
|
||||||
order: stop-first
|
|
||||||
failure_action: rollback
|
|
||||||
restart_policy:
|
|
||||||
condition: on-failure
|
|
||||||
watchtower:
|
watchtower:
|
||||||
image: containrrr/watchtower
|
image: containrrr/watchtower
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- /root/.docker/config.json:/config.json
|
command: --interval 30 --cleanup veloren-game-server-master
|
||||||
command: --interval 30 --cleanup
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user