-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
41 lines (38 loc) · 1.02 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: '3'
volumes:
tsicons:
ranksystem-db:
services:
ranksystem:
hostname: ranksystem
image: jvmerkle/ts3-ranksystem
restart: always
stop_signal: SIGTERM
depends_on:
- ranksystem-db
ports:
- "127.0.0.1:8080:80"
#extra_hosts:
# - "host.docker.internal:host-gateway" # Enable this to access the host via host.docker.internal (Docker > v20.10)
volumes:
- tsicons:/var/www/tsicons
environment:
#- INSTALL_MODE=1
# Example: BASE_HREF for "https://foobar.com/frank/ranksystem" is "/frank/ranksystem/"
- BASE_HREF=/
- DB_TYPE=mysql
- DB_HOST=ranksystem-db
- DB_NAME=ts3_ranksystem
- DB_USERNAME=ts3_ranksystem
- DB_PASSWORD=ts3_ranksystem
ranksystem-db:
hostname: ranksystem-db
image: mariadb
restart: always
volumes:
- ranksystem-db:/var/lib/mysql
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=1
- MYSQL_DATABASE=ts3_ranksystem
- MYSQL_USER=ts3_ranksystem
- MYSQL_PASSWORD=ts3_ranksystem