Add restart policy to tes3mp

This commit is contained in:
Isaac Shoebottom 2024-09-26 17:46:45 -03:00
parent cc77f5fc12
commit efb6de832a

View File

@ -2,6 +2,7 @@ version: '3'
services: services:
server: server:
container_name: tes3mp container_name: tes3mp
restart: unless-stopped
image: "tes3mp/server:0.8.1" image: "tes3mp/server:0.8.1"
environment: environment:
- TES3MP_SERVER_HOSTNAME="Isaac's Server" - TES3MP_SERVER_HOSTNAME="Isaac's Server"
@ -11,8 +12,4 @@ services:
volumes: volumes:
- "/docker/appdata/tes3mp/data:/server/data" - "/docker/appdata/tes3mp/data:/server/data"
ports: ports:
- "25575:25575/udp" - "25575:25575/udp"
networks:
default:
name: "ubuntu-server"
external: true