-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
43 lines (39 loc) · 929 Bytes
/
docker-compose.yaml
File metadata and controls
43 lines (39 loc) · 929 Bytes
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
version: '3'
volumes:
mongo_data:
driver: local
networks:
system_traefik:
external: true
services:
mongodb:
image: mongo:4.0
volumes:
- mongo_data:/data/db
hostname: mongo.simva.dev.test
simva-api:
image: node:8
command: bash -c "cd /app && chmod +x docker-startup.sh && ./docker-startup.sh"
stdin_open: true
tty: true
environment:
MONGO_HOST: mongo.simva.dev.test
MONGO_DB: /simva
LIMESURVEY_HOST: limesurvey-dev.external.test
LIMESURVEY_ADMIN_USER: admin
LIMESURVEY_ADMIN_PASSWORD: password
NODE_EXTRA_CA_CERTS: /app/DemoCA.crt
volumes:
- ./:/app
depends_on:
- mongodb
hostname: simva-api.dev.test
dns:
- 172.31.0.53
networks:
- default
- system_traefik
labels:
traefik.enable: true
traefik.port: 3000
traefik.frontend.rule: "Host:simva-api.external.test"