-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.override.yml
More file actions
57 lines (51 loc) · 1.19 KB
/
docker-compose.override.yml
File metadata and controls
57 lines (51 loc) · 1.19 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
54
55
56
57
# Local development environment configuration
#
# Run locally with:
# docker compose up -d
services:
client:
image: node:24-alpine3.23
working_dir: /app
volumes:
- ./client:/app
- ./refiner/openapi.json:/app/shared/openapi.json
command: sh -c "npm i && npm run dev"
ports:
- "8081:8081"
depends_on:
- server
server:
image: python:3.14-slim
command: sh -c "pip install -r requirements.txt -r dev-requirements.txt && uvicorn app.asgi:app --host 0.0.0.0 --port 8080 --reload"
working_dir: /app
volumes:
- ./refiner:/app
ports:
- "8080:8080"
extra_hosts:
- "localhost:host-gateway"
environment:
- ENV=local
- VERSION=local
- LOG_LEVEL=debug
- PIP_ROOT_USER_ACTION=ignore
localstack:
environment:
- DEBUG=1
volumes:
- localstack-data:/var/lib/localstack
db:
volumes:
- ./.justscripts/sql/drop-all.sql:/drop-all.sql
- pgdata:/var/lib/postgresql
migrate:
image: ghcr.io/amacneil/dbmate:main
working_dir: /app
entrypoint: ["tail", "-f", "/dev/null"]
depends_on:
- db
volumes:
- .:/app
volumes:
pgdata:
localstack-data: