-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
48 lines (44 loc) · 1.37 KB
/
compose.yml
File metadata and controls
48 lines (44 loc) · 1.37 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
services:
postgres:
image: postgres:17-alpine3.22
container_name: postgres
restart: unless-stopped
environment:
POSTGRES_USER: ${POSTGRES_USER} # The PostgreSQL user (useful to connect to the database)
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} # The PostgreSQL password (useful to connect to the database)
POSTGRES_DB: labconnect # The PostgreSQL default database (automatically created at first launch)
volumes:
- /data/postgres:/var/lib/postgresql/data
ports:
- 5432:5432
valkey:
image: ghcr.io/valkey-io/valkey:9-alpine3.22
container_name: valkey
restart: unless-stopped
ports:
- 6379:6379
backend:
image: ghcr.io/labconnect-rcos/labconnect-backend:main
container_name: backend
restart: unless-stopped
environment:
CONFIG: config.TestingConfig
DB: postgresql+psycopg2://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres/labconnect
JWT_SECRET_KEY: ${BACKEND_JWT_SECRET_KEY}
SECRET_KEY: ${BACKEND_SECRET_KEY}
FRONTEND_URL: https://labconnect.cs.rpi.edu
volumes:
- /data/backend-config:/app/config/
ports:
- 9000:9000
depends_on:
- postgres
- valkey
frontend:
image: ghcr.io/labconnect-rcos/labconnect-frontend:main
container_name: frontend
restart: unless-stopped
ports:
- 3000:3000
depends_on:
- backend