-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (45 loc) · 1.32 KB
/
docker-compose.yml
File metadata and controls
49 lines (45 loc) · 1.32 KB
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
services:
website:
image: ghcr.io/genspectrum/dashboards/website:${WEBSITE_TAG}
init: true
platform: linux/amd64
ports:
- "127.0.0.1:4321:4321"
environment:
BACKEND_URL: http://backend:8080
DASHBOARDS_ENVIRONMENT: dashboards-prod
GITHUB_CLIENT_ID: "dummy"
GITHUB_CLIENT_SECRET: "dummy"
AUTH_SECRET: "e2e-test-auth-secret-do-not-use-in-production"
backend:
image: ghcr.io/genspectrum/dashboards/backend:${BACKEND_TAG}
platform: linux/amd64
ports:
- "127.0.0.1:9021:8080"
depends_on:
- database
command:
- --spring.datasource.url=jdbc:postgresql://database:5432/dashboards-backend-db
- --spring.datasource.username=postgres
- --spring.datasource.password=unsecure
- --spring.profiles.active=dashboards-prod
database:
image: postgres:16
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: unsecure
POSTGRES_DB: dashboards-backend-db
ports:
- "127.0.0.1:9022:5432"
volumes:
- database-data:/var/lib/postgresql/data
example-data-seeder:
image: ghcr.io/genspectrum/dashboards/example-data-seeder:${SEEDER_TAG}
depends_on:
- backend
environment:
BACKEND_URL: http://backend:8080
SEED_USER_ID: example-data-seeder
restart: "no"
volumes:
database-data: