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