-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.learn.yml
57 lines (52 loc) · 1.6 KB
/
docker-compose.learn.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
services:
nginx:
networks:
- ol-network
hostname: api.learn.odl.local
labels:
- "traefik.enable=true"
- "traefik.http.routers.learn-api.rule=Host(`api.learn.odl.local`)"
- "traefik.http.routers.learn-api.entrypoints=https"
- "traefik.http.routers.learn-api.tls=true"
- "traefik.http.routers.learn-api.service=learn-api"
- "traefik.http.services.learn-api.loadbalancer.server.port=8063"
web:
networks:
- default
- ol-network
extra_hosts:
- keycloak.odl.local:172.44.0.200
environment:
REQUESTS_CA_BUNDLE: /etc/ssl/certs/ca-certificates.crt
volumes:
- ${OL_ROOT}/certs/odl.local.pem:/etc/ssl/certs/odl.local.pem
- ${HOME}/.local/share/mkcert/rootCA.pem:/etc/ssl/certs/mkcert-rootCA.pem
celery:
networks:
- default
- ol-network
extra_hosts:
# go through traefik
- keycloak.odl.local:172.44.0.200
environment:
REQUESTS_CA_BUNDLE: /etc/ssl/certs/ca-certificates.crt
volumes:
- ${OL_ROOT}/certs/odl.local.crt:/etc/ssl/certs/odl.local.crt
- ${HOME}/.local/share/mkcert/rootCA.pem:/etc/ssl/certs/mkcert-rootCA.pem
watch:
networks:
- ol-network
labels:
- "traefik.enable=true"
- "traefik.http.routers.learn-web.rule=Host(`learn.odl.local`)"
- "traefik.http.routers.learn-web.entrypoints=https"
- "traefik.http.routers.learn-web.tls=true"
- "traefik.http.services.learn-web.loadbalancer.server.port=8062"
locust-worker:
networks:
- default
- ol-network
networks:
default:
ol-network:
external: true