Skip to content

Commit 73328a2

Browse files
committed
Add ci docker compose
I am not entirely certain what other env vars will be needed for this...
1 parent ebfab22 commit 73328a2

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

deployment/ci/docker-compose.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
services:
2+
db:
3+
image: postgres:17
4+
ports:
5+
- "5432:5432"
6+
environment:
7+
POSTGRES_DB: development
8+
POSTGRES_USER: db-user
9+
POSTGRES_PASSWORD: 1234
10+
PGDATA: /var/lib/postgresql/data
11+
12+
build-engine:
13+
depends_on:
14+
- db
15+
- valkey
16+
build:
17+
context: .
18+
dockerfile: Dockerfile
19+
ports:
20+
- "8443:8443"
21+
environment:
22+
DATABASE_URL: "postgresql://db-user:1234@db:5432/dev-buildengine?schema=public"
23+
VALKEY_HOST: "valkey"
24+
# MUST be included (the path the application will be accessed on) and MUST NOT have a trailing slash
25+
ORIGIN: "http://localhost:8443"
26+
27+
valkey:
28+
image: valkey/valkey:latest
29+
command: valkey-server --appendonly yes --appendfilename appendonly.aof --maxmemory-policy noeviction

0 commit comments

Comments
 (0)