-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
110 lines (110 loc) · 3.76 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
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
107
108
109
110
version: "3.7"
networks:
default:
name: traefik
services:
traefik:
image: traefik:latest
volumes:
- /etc/localtime:/etc/localtime:ro
- ${XDG_RUNTIME_DIR:-/var/run}/docker.sock:/var/run/docker.sock:ro
- ./docker/traefik:/etc/traefik:ro
ports:
- ${ROOT_DOMAIN_PORT}:443
- 8888:8080
labels:
- traefik.enable=true
- traefik.http.routers.traefik.entrypoints=https
- traefik.http.routers.traefik.rule=Host(`traefik.${ROOT_DOMAIN}`)
- traefik.http.services.traefik.loadbalancer.server.port=8080
environment:
- REMOTE_DOMAIN
- ROOT_DOMAIN
- ROOT_DOMAIN_PORT
- HOST_IP
catch-all-api:
image: registry.gitlab.com/rxap/docker/catch-all:alpine
rxap-service-configuration:
image: registry.gitlab.com/rxap/packages/service/configuration:${RXAP_CHANNEL:-development}
labels:
- traefik.enable=true
- traefik.http.services.rxap-service-configuration.loadbalancer.healthCheck.path=/health
- traefik.http.services.rxap-service-configuration.loadbalancer.healthCheck.interval=10s
- traefik.http.services.rxap-service-configuration.loadbalancer.healthCheck.timeout=3s
volumes:
- ./shared/service/configuration:/app/assets
environment:
- STATUS_SERVICE_BASE_URL=http://rxap-service-status:3000
- ROOT_DOMAIN
- SENTRY_ENABLED=false
- LOG_LEVEL=verbose
- ROOT_DOMAIN_PORT
- ENVIRONMENT_NAME=development
depends_on:
- traefik
- rxap-service-status
env_file:
- .env
rxap-service-status:
image: registry.gitlab.com/rxap/packages/service/status:${RXAP_CHANNEL:-development}
labels:
- traefik.enable=true
- traefik.http.services.rxap-service-status.loadbalancer.healthCheck.path=/health
- traefik.http.services.rxap-service-status.loadbalancer.healthCheck.interval=10s
- traefik.http.services.rxap-service-status.loadbalancer.healthCheck.timeout=3s
environment:
- ROOT_DOMAIN
- SENTRY_ENABLED=false
- LOG_LEVEL=verbose
- ROOT_DOMAIN_PORT
- ENVIRONMENT_NAME=development
depends_on:
- traefik
ports:
- 5300:3000
env_file:
- .env
rxap-service-changelog:
image: registry.gitlab.com/rxap/packages/service/changelog:${RXAP_CHANNEL:-development}
labels:
- traefik.enable=true
- traefik.http.services.rxap-service-changelog.loadbalancer.healthCheck.path=/health
- traefik.http.services.rxap-service-changelog.loadbalancer.healthCheck.interval=10s
- traefik.http.services.rxap-service-changelog.loadbalancer.healthCheck.timeout=3s
environment:
- STATUS_SERVICE_BASE_URL=http://rxap-service-status:3000
- ROOT_DOMAIN
- SENTRY_ENABLED=false
- LOG_LEVEL=verbose
- ROOT_DOMAIN_PORT
- ENVIRONMENT_NAME=development
volumes:
- ./shared/service/changelog:/app/assets
depends_on:
- traefik
- rxap-service-status
env_file:
- .env
rxap-service-user:
image: registry.gitlab.com/rxap/packages/service/user:${RXAP_CHANNEL:-development}
labels:
- traefik.enable=true
- traefik.http.services.rxap-service-user.loadbalancer.healthCheck.path=/health
- traefik.http.services.rxap-service-user.loadbalancer.healthCheck.interval=10s
- traefik.http.services.rxap-service-user.loadbalancer.healthCheck.timeout=3s
environment:
- STATUS_SERVICE_BASE_URL=http://rxap-service-status:3000
- ROOT_DOMAIN
- SENTRY_ENABLED=false
- LOG_LEVEL=verbose
- ROOT_DOMAIN_PORT
- ENVIRONMENT_NAME=development
volumes:
- ./shared/service/user:/app/assets
depends_on:
- traefik
- rxap-service-status
env_file:
- .env
cors-options:
image: registry.gitlab.com/rxap/docker/cors-options:alpine