2020-03-22 14:56:14 +00:00
|
|
|
version: "3.5"
|
2020-02-25 23:10:00 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
game-server:
|
|
|
|
image: registry.gitlab.com/veloren/veloren:master-server
|
|
|
|
ports:
|
|
|
|
- "14004:14004"
|
|
|
|
- "14005:14005"
|
|
|
|
deploy:
|
|
|
|
replicas: 1
|
|
|
|
update_config:
|
|
|
|
parallelism: 2
|
|
|
|
delay: 10s
|
2020-03-22 14:56:14 +00:00
|
|
|
order: stop-first
|
2020-02-25 23:10:00 +00:00
|
|
|
failure_action: rollback
|
|
|
|
restart_policy:
|
|
|
|
condition: on-failure
|
2020-03-22 14:56:14 +00:00
|
|
|
watchtower:
|
|
|
|
image: containrrr/watchtower
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
- /root/.docker/config.json:/config.json
|
|
|
|
command: --interval 30 --cleanup
|
|
|
|
|