2024-09-11 18:42:40 -05:00
|
|
|
# vim:ft=ansible:
|
2024-10-15 11:30:06 -05:00
|
|
|
- name: ensure docker network
|
|
|
|
docker_network: name=satisfactory
|
|
|
|
tags: [ satisfactory, docker, network ]
|
2024-09-11 18:42:40 -05:00
|
|
|
- name: docker deploy satisfactory
|
|
|
|
docker_container:
|
|
|
|
name: satisfactory
|
|
|
|
state: started
|
|
|
|
image: wolveix/satisfactory-server:latest
|
|
|
|
restart_policy: unless-stopped
|
|
|
|
pull: yes
|
2024-10-15 11:30:06 -05:00
|
|
|
networks:
|
|
|
|
- name: satisfactory
|
|
|
|
aliases: [ "gameserver" ]
|
2024-09-11 18:42:40 -05:00
|
|
|
env:
|
|
|
|
MAXPLAYERS: "8"
|
2024-10-11 13:04:00 -05:00
|
|
|
# We have this turned on for modding's sake
|
|
|
|
SKIPUPDATE: "true"
|
2024-09-11 18:42:40 -05:00
|
|
|
ports:
|
|
|
|
- '7777:7777/udp'
|
|
|
|
- '7777:7777/tcp'
|
|
|
|
volumes:
|
|
|
|
- /data/satisfactory/config:/config
|
|
|
|
tags: [ docker, satisfactory ]
|
2024-10-11 13:04:00 -05:00
|
|
|
- name: docker deploy satisfactory sftp
|
|
|
|
docker_container:
|
|
|
|
name: satisfactory-sftp
|
|
|
|
state: started
|
|
|
|
image: atmoz/sftp
|
|
|
|
restart_policy: unless-stopped
|
|
|
|
pull: yes
|
|
|
|
ulimits:
|
|
|
|
- 'nofile:262144:262144'
|
|
|
|
ports:
|
|
|
|
- '7776:22/tcp'
|
|
|
|
volumes:
|
|
|
|
- /data/satisfactory/config:/home/servermgr/game
|
|
|
|
command: 'servermgr:{{ server_password }}:1000'
|
|
|
|
vars:
|
|
|
|
server_password: !vault |
|
|
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
|
|
33336138656461646462323661363336623235333861663730373535656331623230313334353239
|
|
|
|
6535623833343237626161383833663435643262376133320a616634613764396661316332373339
|
|
|
|
33633662366666623931643635313162366339306539666632643437396637616632633432326631
|
|
|
|
3038333932623638390a386362653463306338326436396230633562313466336464663764643461
|
|
|
|
3134
|
|
|
|
tags: [ docker, satisfactory, sidecar, sftp ]
|