Skip to content

Commit

Permalink
Merge pull request #47 from startersclan/docs/remove-unnecessary-dns-…
Browse files Browse the repository at this point in the history
…volume-in-docker-composex.yml

Docs: Remove unnecessary `dns-volume` in `docker-compose*.yml`
  • Loading branch information
leojonathanoh committed Dec 12, 2023
2 parents a453863 + 2881340 commit 1b4eea5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 24 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ docker-compose down

# Cleanup
docker-compose down
docker volume rm hlstatsx-community-edition_dns-volume
docker volume rm hlstatsx-community-edition_db-volume
```

Expand Down
16 changes: 0 additions & 16 deletions docker-compose.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ services:
# See: https://github.com/startersclan/docker-sourceservers
cstrike:
image: goldsourceservers/cstrike:latest
volumes:
- dns-volume:/dns:ro
ports:
- 27015:27015/udp
networks:
Expand All @@ -27,8 +25,6 @@ services:
# See: https://github.com/startersclan/docker-sourceservers
# cs2:
# image: sourceservers/cs2:latest
# volumes:
# - dns-volume:/dns:ro
# ports:
# - 27016:27016/tcp
# - 27016:27016/udp
Expand Down Expand Up @@ -61,21 +57,10 @@ services:
# - FORWARD_GAMESERVER_PORT=27016 # The gameserver's IP as registered in the HLStatsX:CE database
# - LOG_LEVEL=INFO
# - LOG_FORMAT=txt
# volumes:
# - dns-volume:/dns
# networks:
# - default
# depends_on:
# - daemon
# entrypoint:
# - /bin/sh
# command:
# - -c
# - |
# set -eu
# echo "Outputting my IP address"
# ip addr show eth0 | grep 'inet ' | awk '{print $$2}' | cut -d '/' -f1 | tee /dns/source-udp-forwarder-cs2
# exec /source-udp-forwarder

# 3. HLStatsX:CE perl daemon accepts the gameserver logs. Gameserver Logs are parsed and stats are recorded
# The daemon's proxy_key secret can only be setup in the HLStatsX:CE Web Admin Panel Settings under 'Proxy Settings' section
Expand Down Expand Up @@ -302,7 +287,6 @@ networks:
internal: true

volumes:
dns-volume:
db-volume:
games-volume:
traefik-acme-volume:
7 changes: 0 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ services:
# See: https://github.com/startersclan/docker-sourceservers
cstrike:
image: goldsourceservers/cstrike:latest
volumes:
- dns-volume:/dns:ro
ports:
- 27015:27015/udp
networks:
Expand All @@ -27,8 +25,6 @@ services:
# See: https://github.com/startersclan/docker-sourceservers
# cs2:
# image: sourceservers/cs2:latest
# volumes:
# - dns-volume:/dns:ro
# ports:
# - 27016:27016/tcp
# - 27016:27016/udp
Expand Down Expand Up @@ -61,8 +57,6 @@ services:
# - FORWARD_GAMESERVER_PORT=27016 # The gameserver's IP as registered in the HLStatsX:CE database
# - LOG_LEVEL=INFO
# - LOG_FORMAT=txt
# volumes:
# - dns-volume:/dns
# networks:
# - default
# depends_on:
Expand Down Expand Up @@ -264,5 +258,4 @@ networks:
gateway: 10.5.0.1

volumes:
dns-volume:
db-volume:

0 comments on commit 1b4eea5

Please sign in to comment.