-
Notifications
You must be signed in to change notification settings - Fork 475
Expand file tree
/
Copy pathdocker-compose.cloud.yml
More file actions
39 lines (37 loc) · 1.04 KB
/
docker-compose.cloud.yml
File metadata and controls
39 lines (37 loc) · 1.04 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
services:
postgres:
image: postgres:16-alpine
container_name: engram-cloud-postgres
environment:
POSTGRES_USER: engram
POSTGRES_PASSWORD: engram_dev
POSTGRES_DB: engram_cloud
ports:
- "127.0.0.1:5433:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U engram -d engram_cloud"]
interval: 5s
timeout: 3s
retries: 10
volumes:
- engram-cloud-pg:/var/lib/postgresql/data
cloud:
build:
context: .
dockerfile: docker/cloud/Dockerfile
container_name: engram-cloud
depends_on:
postgres:
condition: service_healthy
environment:
ENGRAM_DATABASE_URL: postgres://engram:engram_dev@postgres:5432/engram_cloud?sslmode=disable
ENGRAM_JWT_SECRET: engram-dev-jwt-secret-for-local-smoke-1234
ENGRAM_CLOUD_INSECURE_NO_AUTH: "1"
ENGRAM_CLOUD_ALLOWED_PROJECTS: smoke-project
ENGRAM_CLOUD_HOST: 0.0.0.0
ENGRAM_PORT: "18080"
ports:
- "127.0.0.1:18080:18080"
command: ["cloud", "serve"]
volumes:
engram-cloud-pg: