-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
89 lines (83 loc) · 1.83 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
version: "3.6"
volumes:
backend_logs:
pgdata:
postfix_spool:
services:
backend:
restart: always
build: backend
ports:
- "8090:8080"
environment:
SPRING_PROFILES_ACTIVE: prod,mail
SW_AGENT_COLLECTOR_BACKEND_SERVICES: oap:11800
TZ: Europe/Brussels
DB_USERNAME: ""
DB_PASSWORD: ""
DB_URL: ""
AUTH_DB_USERNAME: ""
AUTH_DB_PASSWORD: ""
AUTH_DB_URL: ""
LDAP_URL: ""
LDAP_BASE: ""
LDAP_USER_DN: ""
LDAP_PASSWORD: ""
AUTH_SERVICE_KEY: ""
depends_on:
- db
volumes:
- backend_logs:/app/logs:rw
networks:
- blokatgent
logging:
options:
max-size: "100m"
max-file: "5"
db:
image: postgres:12-alpine
command: postgres -c 'max_connections=500' -c 'shared_buffers=1024' -c 'log_min_messages=notice'
restart: always
environment:
POSTGRES_DB: blokatugent
POSTGRES_USER: blokat
POSTGRES_PASSWORD: "***REMOVED***"
TZ: Europe/Brussels
PGTZ: Europe/Brussels
volumes:
- pgdata:/var/lib/postgresql/data
# - ./backend/postgres.conf:/var/lib/postgresql/data/postgresql.conf
networks:
- blokatgent
logging:
options:
max-size: "100m"
max-file: "5"
frontend:
restart: always
build: frontend
ports:
- "8091:80"
networks:
- blokatgent
logging:
options:
max-size: "100m"
max-file: "5"
mailrelay:
restart: always
image: juanluisbaptiste/postfix:latest
networks:
- blokatgent
expose:
- "25"
environment:
SMTP_SERVER: "smtp.ugent.be"
SMTP_PORT: "25"
SERVER_HOSTNAME: "fireball.ugent.be"
volumes:
- "/etc/localtime:/etc/localtime:ro"
- postfix_spool:/var/spool/postfix
networks:
blokatgent:
name: blokatgent