-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
35 lines (35 loc) · 1.1 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
version: "3"
services:
balancer:
build: balancer
restart: always
ports:
- "80:80"
volumes:
# Change the part to the left of : to select
# where files end up in the host filesystem.
- /tmp/elogy/log/balancer:/var/log/nginx
backend:
build: backend
restart: always
environment:
- 'ELOGY_DEBUG=0'
- 'ELOGY_DATABASE=/var/elogy/db/elogy.db'
- 'ELOGY_URL=http://localhost'
- 'ELOGY_SECRET=PQDfjXrwWLWy8C97BYcKV2dteDm76RHXmB'
- 'ELOGY_CONFIG_FILE=/app/elogy/config.py'
- 'ELOGY_UPLOAD_FOLDER=/var/elogy/attachments'
# - 'ELOGY_LDAP_SERVER=srv-ldap-2.maxiv.lu.se'
# - 'ELOGY_LDAP_BASEDN=dc=maxlab,dc=lu,dc=se'
volumes:
# Change the part to the left of : to select
# where files end up in the host filesystem.
- /tmp/elogy/db:/var/elogy/db
- /tmp/elogy/attachments:/var/elogy/attachments
frontend:
build: frontend
restart: always
volumes:
# Change the part to the left of : to select
# where files end up in the host filesystem.
- /tmp/elogy/log/frontend:/var/log/nginx