mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
25 lines
556 B
YAML
25 lines
556 B
YAML
version: "3.5"
|
|
|
|
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
|
|
order: stop-first
|
|
failure_action: rollback
|
|
restart_policy:
|
|
condition: on-failure
|
|
watchtower:
|
|
image: containrrr/watchtower
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- /root/.docker/config.json:/config.json
|
|
command: --interval 30 --cleanup
|
|
|