Add docker network to satisfucktory

This commit is contained in:
Salt 2024-10-15 11:30:06 -05:00
parent ef036fca76
commit 7d2afdfaef

View File

@ -1,4 +1,7 @@
# vim:ft=ansible: # vim:ft=ansible:
- name: ensure docker network
docker_network: name=satisfactory
tags: [ satisfactory, docker, network ]
- name: docker deploy satisfactory - name: docker deploy satisfactory
docker_container: docker_container:
name: satisfactory name: satisfactory
@ -6,6 +9,9 @@
image: wolveix/satisfactory-server:latest image: wolveix/satisfactory-server:latest
restart_policy: unless-stopped restart_policy: unless-stopped
pull: yes pull: yes
networks:
- name: satisfactory
aliases: [ "gameserver" ]
env: env:
MAXPLAYERS: "8" MAXPLAYERS: "8"
# We have this turned on for modding's sake # We have this turned on for modding's sake