Adjust docker compose
This commit is contained in:
parent
8a0cb391fe
commit
63d0956eb3
3 changed files with 8 additions and 13 deletions
|
@ -1,17 +1,13 @@
|
||||||
version: '2'
|
version: '2'
|
||||||
networks:
|
networks:
|
||||||
network:
|
teamspeak:
|
||||||
ipam:
|
external: false
|
||||||
driver: default
|
|
||||||
config:
|
|
||||||
- subnet: 172.254.0.0/16
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
container_name: teamspeak_app
|
container_name: teamspeak_app
|
||||||
image: teamspeak:latest
|
image: teamspeak:latest
|
||||||
volumes:
|
volumes:
|
||||||
- ./teamspeak:/var/ts3server
|
- ./app:/var/ts3server
|
||||||
- ./whitelist.txt:/whitelist.txt
|
- ./whitelist.txt:/whitelist.txt
|
||||||
ports:
|
ports:
|
||||||
- 10011:10011
|
- 10011:10011
|
||||||
|
@ -21,17 +17,16 @@ services:
|
||||||
- TS3SERVER_LICENSE=accept
|
- TS3SERVER_LICENSE=accept
|
||||||
- TS3SERVER_IP_WHITELIST=/whitelist.txt
|
- TS3SERVER_IP_WHITELIST=/whitelist.txt
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
network_mode: "host"
|
||||||
- network
|
|
||||||
web:
|
web:
|
||||||
container_name: teamspeak_web
|
container_name: teamspeak_web
|
||||||
image: teamspeak_web:latest
|
image: teamspeak_web:latest
|
||||||
volumes:
|
volumes:
|
||||||
- ./env:/var/www/html/application/config/env
|
- ./env:/var/www/html/application/config/env
|
||||||
ports:
|
ports:
|
||||||
- 8181:80
|
- 127.0.0.1:8181:80
|
||||||
depends_on:
|
depends_on:
|
||||||
- app
|
- app
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- network
|
- teamspeak
|
|
@ -8,7 +8,7 @@ theme="bootstrap4" # values: bootstrap4 (foldernames are used to determine theme
|
||||||
theme_cache=false # values: true|false (cache view/twig. makes it faster, disable for debug)
|
theme_cache=false # values: true|false (cache view/twig. makes it faster, disable for debug)
|
||||||
|
|
||||||
# teamspeak
|
# teamspeak
|
||||||
teamspeak_host="teamspeak_app" # 'localhost' or 'name_of_docker_container' if running locally
|
teamspeak_host="localhost" # 'localhost' or 'name_of_docker_container' if running locally or IP
|
||||||
teamspeak_query_port=10011
|
teamspeak_query_port=10011
|
||||||
teamspeak_user="serveradmin"
|
teamspeak_user="serveradmin"
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
172.254.0.0/16
|
127.0.0.1
|
Reference in a new issue