-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.dev.yml
145 lines (133 loc) · 3.98 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
services:
core:
build:
context: .
args:
- PACKAGE=core
container_name: core
env_file: ./.env.docker-compose
environment:
#s non secret
- ASSETS_BUCKET_NAME=assets.byron.pubpub.org
- MAILGUN_SMTP_HOST=smtp.mailgun.org
- MAILGUN_SMTP_PORT=465
- MAILGUN_SMTP_USERNAME=omitted
- OTEL_SERVICE_NAME=core.core
- PGDATABASE=postgres
- PGHOST=host.docker.internal
- PGPORT=54322
- PGUSER=postgres
- PGPASSWORD=postgres
- PUBPUB_URL=http://localhost:8080
networks:
- app-network
ports:
- "30000:3000"
core-nginx:
build: ./infrastructure/nginx
container_name: core-nginx
environment:
- NGINX_LISTEN_PORT=8080
- NGINX_PREFIX=/
- NGINX_UPSTREAM_HOST=core
- NGINX_UPSTREAM_PORT=3000
- OTEL_SERVICE_NAME=core.nginx
depends_on:
- core
networks:
- app-network
ports:
- "3000:8080"
jobs:
build:
context: .
args:
- PACKAGE=jobs
container_name: jobs
env_file: ./.env.docker-compose
environment:
- OTEL_SERVICE_NAME=jobs.jobs
- PGDATABASE=postgres
- PGHOST=host.docker.internal
- PGPORT=54322
- PGUSER=postgres
- PGPASSWORD=postgres
- PUBPUB_URL=http://localhost:8080
networks:
- app-network
# jobs-nginx:
# No Nginx for jobs, because it does not take requests
integration-evaluations:
build:
context: .
args:
- PACKAGE=integration-evaluations
container_name: integration-evaluations
env_file: ./.env.docker-compose
environment:
- SENTRY_AUTH_TOKEN=omitted
- OTEL_SERVICE_NAME=integration-evaluations.integration-evaluations
- PUBPUB_URL=http://localhost:8080
depends_on:
- core
networks:
- app-network
ports:
- "30001:3000"
integration-evaluations-nginx:
build: ./infrastructure/nginx
container_name: integration-evaluations-nginx
environment:
- NGINX_LISTEN_PORT=8080
- NGINX_PREFIX=/
- NGINX_UPSTREAM_HOST=integration-evaluations
- NGINX_UPSTREAM_PORT=3000
- OTEL_SERVICE_NAME=integration-evaluations.nginx
depends_on:
- integration-evaluations
networks:
- app-network
ports:
- "3001:8080"
integration-submissions:
build:
context: .
args:
- PACKAGE=integration-submissions
container_name: integration-submissions
env_file: ./.env.docker-compose
environment:
- SENTRY_AUTH_TOKEN=omitted
- OTEL_SERVICE_NAME=integration-submissions.integration-submissions
- PUBPUB_URL=http://localhost:8080
depends_on:
- core
networks:
- app-network
ports:
- "30002:3000"
integration-submissions-nginx:
build: ./infrastructure/nginx
container_name: integration-submissions-nginx
environment:
- NGINX_LISTEN_PORT=8080
- NGINX_PREFIX=/
- NGINX_UPSTREAM_HOST=integration-submissions
- NGINX_UPSTREAM_PORT=3000
- OTEL_SERVICE_NAME=integration-submissions.nginx
depends_on:
- integration-submissions
networks:
- app-network
ports:
- "3002:8080"
db:
extends:
file: docker-compose.base.yml
service: db
inbucket:
extends:
file: docker-compose.base.yml
service: inbucket
networks:
app-network: