-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
53 lines (51 loc) · 1.64 KB
/
docker-compose.test.yml
File metadata and controls
53 lines (51 loc) · 1.64 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
50
51
52
53
services:
postgres:
image: postgres:16-alpine
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
web:
image: ghcr.io/seastackapp/seastack:latest
depends_on:
- postgres
volumes:
- .seastack:/etc/seastack
ports:
- "3000:3000"
environment:
DATABASE_URL: "postgresql://postgres:password@postgres:5432/public?schema=public"
BETTER_AUTH_SECRET: CeOx3AmjqVWNIlmeMLOgwtq87J49YpQX
BETTER_AUTH_URL: http://localhost:3000
ENCRYPTION_SECRET: CeOx3AmjqVWNIlmeMLOgwtq87J49YpQX
REDIS_HOST: redis
REDIS_PORT: 6379
REDIS_PASSWORD: devpassword
worker:
image: ghcr.io/seastackapp/seastack-worker:latest
depends_on:
- postgres
- redis
environment:
DATABASE_URL: "postgresql://postgres:password@postgres:5432/public?schema=public"
BETTER_AUTH_SECRET: CeOx3AmjqVWNIlmeMLOgwtq87J49YpQX
BETTER_AUTH_URL: http://localhost:3000
ENCRYPTION_SECRET: CeOx3AmjqVWNIlmeMLOgwtq87J49YpQX
REDIS_HOST: redis
REDIS_PORT: 6379
REDIS_PASSWORD: devpassword
redis:
image: redis:7.4-alpine
command: redis-server --requirepass devpassword
environment:
REDIS_PASSWORD: devpassword
ports:
- "6379:6379"
volumes:
- redis_data:/data
volumes:
postgres_data:
redis_data: