forked from desec-io/desec-stack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
106 lines (90 loc) · 2.2 KB
/
docker-compose.dev.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
version: '2.3'
# mostly extending from main .yml
services:
www:
depends_on:
- webapp
networks:
- rearwebapp
volumes:
- ./www/90-desec.static.dev.location:/etc/nginx/sites-available/90-desec.static.location # override webapp access
logging:
driver: "json-file"
www_monitor:
logging:
driver: "json-file"
dbapi:
logging:
driver: "json-file"
dblord:
logging:
driver: "json-file"
dbmaster:
logging:
driver: "json-file"
api:
environment:
- DESECSTACK_API_DEBUG=True
logging:
driver: "json-file"
nslord:
ports:
- "5311:53"
- "5311:53/udp"
- "127.0.0.1:8081:8081"
logging:
driver: "json-file"
nsmaster:
ports:
- "5321:53"
- "5321:53/udp"
logging:
driver: "json-file"
rabbitmq:
ports:
- "15672:15672"
logging:
driver: "json-file"
celery-email:
logging:
driver: "json-file"
memcached:
logging:
driver: "json-file"
webapp:
build:
context: www
target: webapp
volumes:
- ./www/webapp/:/usr/src/app/
working_dir: /usr/src/app/
command: bash -c "npm install && npm run serve --fix"
environment:
- CODESANDBOX_SSE=1 # so that ws: protocol ends up as auto: in node_modules/@vue/cli-service/lib/commands/serve.js
- CYPRESS_CACHE_FOLDER=/tmp/.cache # https://github.com/cypress-io/cypress/issues/1281#issuecomment-404823001
- VUE_APP_DESECSTACK_NS=${DESECSTACK_NS}
- VUE_APP_DESECSTACK_API_SEPA_CREDITOR_ID=${DESECSTACK_API_SEPA_CREDITOR_ID}
- VUE_APP_DESECSTACK_API_SEPA_CREDITOR_NAME=${DESECSTACK_API_SEPA_CREDITOR_NAME}
- VUE_APP_LOCAL_PUBLIC_SUFFIXES=dedyn.${DESECSTACK_DOMAIN}
- VUE_APP_EMAIL=support@desec.${DESECSTACK_DOMAIN}
networks:
- rearwebapp
logging:
driver: "json-file"
openvpn-server:
logging:
driver: "json-file"
openvpn-server_monitor:
logging:
driver: "json-file"
prometheus:
logging:
driver: "json-file"
networks:
rearwebapp:
driver: bridge
ipam:
driver: default
config:
- subnet: ${DESECSTACK_IPV4_REAR_PREFIX16}.100.0/24
gateway: ${DESECSTACK_IPV4_REAR_PREFIX16}.100.1