/
docker-compose.yml
52 lines (51 loc) · 1.55 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
version: "3"
services:
nginx-proxy:
build: ../../../docker/nginx/
logging:
driver: "${LOG_DRIVER}"
options:
max-file: "${LOG_OPT_MAXF}"
max-size: "${LOG_OPT_MAXS}"
container_name: nginx-proxy
volumes:
- ../../../config/web-server/nginx/php/conf.d/:/etc/nginx/conf.d/
- ../../../config/web-server/nginx/php/nginx_conf/nginx.conf:/etc/nginx/nginx.conf
- ../../../config/web-server/nginx/php/fastcgi/fastcgi_params:/etc/nginx/fastcgi_params
- ../../../ssl/:/ssl/
- ../../../log/nginx/:/log/nginx/
ports:
- 80:80
- 443:443
environment:
TZ: "Asia/Seoul"
restart: always
depends_on:
- openproject
openproject:
image: openproject/community:13
logging:
driver: "${LOG_DRIVER}"
options:
max-file: "${LOG_OPT_MAXF}"
max-size: "${LOG_OPT_MAXS}"
container_name: openproject
privileged: true
volumes:
- ./pgdata/:/var/openproject/pgdata/
- ../../../log/supervisor/:/var/log/supervisor/
- ./static/:/var/openproject/assets/
expose:
- 8080
environment:
EMAIL_DELIVERY_METHOD: ${EMAIL_DELIVERY_METHOD}
SMTP_ADDRESS: ${SMTP_ADDRESS}
SMTP_PORT: ${SMTP_PORT}
SMTP_DOMAIN: "${SMTP_DOMAIN}"
SMTP_AUTHENTICATION: ${SMTP_AUTHENTICATION}
SMTP_ENABLE_STARTTLS_AUTO: "${SMTP_ENABLE_STARTTLS_AUTO}"
SMTP_USER_NAME: "${SMTP_USER_NAME}"
SMTP_PASSWORD: "${SMTP_PASSWORD}"
TZ: "Asia/Seoul"
PASSENGER_START_TIMEOUT: ${PASSENGER_START_TIMEOUT}
restart: always