forked from fugasjunior/arma-server-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
49 lines (45 loc) · 1.46 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
42
43
44
45
46
47
48
49
version: '3.3'
services:
db:
image: mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: "${MYSQL_ROOT_PASSWORD}"
MYSQL_DATABASE: "${MYSQL_DB_NAME}"
MYSQL_USER: "${MYSQL_USER}"
MYSQL_PASSWORD: "${MYSQL_PASSWORD}"
ports:
- "3306:3306"
volumes:
- armaservermanager-db:/var/lib/mysql
adminer:
image: adminer
restart: always
ports:
- "8090:8080"
armaservermanager:
image: "fugasjunior/armaservermanager:${VERSION}"
restart: always
# 'host' network mode is not available on Windows. If you need to run this image on Windows, you need to set up port mappings manually.
network_mode: host
# uncomment when running on Windows and add additional ports according to your needs
# ports:
# - "8080:8080"
# - "2302:2303/udp"
# - "2303:2303/udp"
depends_on:
- db
volumes:
# Change the path where the servers will be stored on your server (first part before semicolon)
- /home/armaservermanager/storage:/home/steam/armaservermanager/
environment:
AUTH_USERNAME: "${AUTH_USERNAME}"
AUTH_PASSWORD: "${AUTH_PASSWORD}"
SPRING_DATASOURCE_URL: "${MYSQL_DB_URL}"
SPRING_DATASOURCE_USERNAME: "${MYSQL_USER}"
SPRING_DATASOURCE_PASSWORD: "${MYSQL_PASSWORD}"
STEAM_API_KEY: "${STEAM_API_KEY}"
JWT_SECRET: "${JWT_SECRET}"
DATABASE_ENCRYPTION_SECRET: "${DATABASE_ENCRYPTION_SECRET}"
volumes:
armaservermanager-db: