-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
61 lines (59 loc) · 1.27 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
50
51
52
53
54
55
56
57
58
59
60
61
version: '3.6'
services:
mariadb:
build: ./Database
networks:
- rpll
volumes:
- ./Database/patches:/docker-entrypoint-initdb.d
- rpll_mariadb:/var/lib/mysql
environment:
- MYSQL_USER=root
- MYSQL_PASSWORD=vagrant
- MYSQL_ROOT_PASSWORD=vagrant
- TZ=Europe/Amsterdam
backend:
depends_on:
- mariadb
build: ./Backend
networks:
- rpll
volumes:
- rpll_backend_storage:/Storage
environment:
- MYSQL_URL=mysql://root:vagrant@mariadb/main
- ROCKET_DATABASES={main={url="mysql://root:vagrant@mariadb/main"}}
- SMTP_DNS=127.0.0.1:25
- HOST=legacyplayers.com
- MODEL_GENERATOR=http://localhost:5555
- INSTANCE_STORAGE_PATH=/Storage
webclient:
build:
context: ./Webclient
additional_contexts:
addonscombatlog: ./Addons
args:
build_type: production
networks:
- rpll
reverse-proxy:
build: ./ReverseProxy
networks:
- rpll
ports:
- '1234:80'
# traefik:
# image: traefik:latest
# command: --api.insecure=true --providers.docker
# networks:
# - rpll
# ports:
# - 443:443
# - 8081:8081
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock
volumes:
rpll_mariadb:
rpll_backend_storage:
networks:
rpll: