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'
|
||||
networks:
|
||||
network:
|
||||
ipam:
|
||||
driver: default
|
||||
config:
|
||||
- subnet: 172.254.0.0/16
|
||||
|
||||
teamspeak:
|
||||
external: false
|
||||
services:
|
||||
app:
|
||||
container_name: teamspeak_app
|
||||
image: teamspeak:latest
|
||||
volumes:
|
||||
- ./teamspeak:/var/ts3server
|
||||
- ./app:/var/ts3server
|
||||
- ./whitelist.txt:/whitelist.txt
|
||||
ports:
|
||||
- 10011:10011
|
||||
|
@ -21,17 +17,16 @@ services:
|
|||
- TS3SERVER_LICENSE=accept
|
||||
- TS3SERVER_IP_WHITELIST=/whitelist.txt
|
||||
restart: always
|
||||
networks:
|
||||
- network
|
||||
network_mode: "host"
|
||||
web:
|
||||
container_name: teamspeak_web
|
||||
image: teamspeak_web:latest
|
||||
volumes:
|
||||
- ./env:/var/www/html/application/config/env
|
||||
ports:
|
||||
- 8181:80
|
||||
- 127.0.0.1:8181:80
|
||||
depends_on:
|
||||
- app
|
||||
restart: always
|
||||
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)
|
||||
|
||||
# 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_user="serveradmin"
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
172.254.0.0/16
|
||||
127.0.0.1
|
Reference in a new issue