added ports and fixed the server not starting by removing custom download dir
This commit is contained in:
parent
d794021987
commit
07d418ae94
@ -3,7 +3,11 @@ services:
|
||||
tf2-dedicated-server:
|
||||
image: cm2network/tf2:sourcemod
|
||||
container_name: tf2-dedicated-server
|
||||
network_mode: host
|
||||
network_mode: bridge
|
||||
ports:
|
||||
- "27020:27020"
|
||||
- "27015:27015"
|
||||
- "27015:27015/udp"
|
||||
depends_on:
|
||||
- tf2-dedicated-server-download
|
||||
environment:
|
||||
@ -25,7 +29,6 @@ services:
|
||||
- SRCDS_SECURED="${SRCDS_SECURED}"
|
||||
volumes:
|
||||
- tf2-server:/home/steam/tf-dedicated/
|
||||
- tf2-server-download-data:/home/steam/tf-dedicated/tf/custom/server/
|
||||
restart: unless-stopped
|
||||
tf2-dedicated-server-download:
|
||||
build: .
|
||||
@ -33,7 +36,7 @@ services:
|
||||
container_name: tf2-dedicated-server-download
|
||||
network_mode: bridge
|
||||
volumes:
|
||||
- tf2-server-download-data:/usr/local/apache2/htdocs/source/tf/
|
||||
- tf2-server-download-data:/usr/local/apache2/htdocs/source/
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.tf2download.entrypoints: "web, websecure"
|
||||
|
Loading…
Reference in New Issue
Block a user