-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
69 lines (66 loc) · 1.64 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
62
63
64
65
66
67
68
69
version: '3.8'
services:
frontend:
container_name: PRoST-Frontend
build:
context: frontend
args:
- VITE_API_URL=http://localhost:8081
- VITE_BASE_PATH=/prost
ports:
- "80:80"
backend:
depends_on: [ ldap, mariadb ]
container_name: PRoST-Backend
build:
context: backend
environment:
LDAP_URI: ldap://ldap:1389/dc=fsinfo,dc=fim,dc=uni-passau,dc=de
# BUY_COOLDOWN: 10000
# ZONE_ID: Europe/Berlin
# PORT: 8081
# MAIL_USER_NAME: test@localhost
# MAIL_USER_PASSWORD: p455w0rd
# MAIL_HOST_NAME: smtp.localhost
# MAIL_HOST_PORT: 587
# DB_URL: localhost:3306
# DB_NAME: PRoST_SQL
# DB_USER: admin
# DB_PASSWORD: password
# LOGGING_LEVEL: DEBUG
ports:
- "8081:8081"
networks:
- prost
volumes:
- ./.data:/data
mariadb:
image: lscr.io/linuxserver/mariadb:latest
container_name: mariadb
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_DATABASE=PRoST_SQL #optional
- MYSQL_USER=admin #optional
- MYSQL_PASSWORD=password #optional
volumes:
- ./.data/maria-config:/config
networks:
- prost
ldap:
container_name: PRoST-LDAP
image: bitnami/openldap:latest
networks:
- prost
volumes:
- prost-ldap:/bitnami/openldap
- ./ldif:/ldif
environment:
LDAP_ADMIN_USERNAME: admin
LDAP_ADMIN_PASSWORD: adminpassword
LDAP_ROOT: dc=fsinfo,dc=fim,dc=uni-passau,dc=de
LDAP_ADMIN_DN: cn=admin,dc=fsinfo,dc=fim,dc=uni-passau,dc=de
LDAP_CUSTOM_LDIF_DIR: /ldif
volumes:
prost-ldap:
networks:
prost: