-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.override.yml
49 lines (45 loc) · 1.06 KB
/
docker-compose.override.yml
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:
backend:
image: atciss-backend-local
build:
context: .
target: dev
ports:
- "8000:8000"
environment:
ATCISS_DATABASE_DSN: "postgresql+asyncpg://postgres:fnord@db/atciss"
ATCISS_DEBUG_SQL: 0
volumes:
- ./atciss:/code/atciss
- ./alembic:/code/alembic
- ./alembic.ini:/code/alembic.ini
worker:
image: atciss-backend-local
ports:
- "9000:9000"
environment:
ATCISS_DATABASE_DSN: "postgresql+asyncpg://postgres:fnord@db/atciss"
ATCISS_DEBUG_SQL: 0
volumes:
- ./atciss:/code/atciss
- ./contrib:/code/contrib
# ensure current atciss-backend-local image is used
depends_on:
- backend
scheduler:
image: atciss-backend-local
volumes:
- ./atciss:/code/atciss
# ensure current atciss-backend-local image is used
depends_on:
- backend
db:
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=fnord
- POSTGRES_DB=atciss
ports:
- "5432:5432"
redis:
ports:
- "6379:6379"