-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.developer.yml
More file actions
executable file
·45 lines (43 loc) · 1.12 KB
/
compose.developer.yml
File metadata and controls
executable file
·45 lines (43 loc) · 1.12 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
services:
developer_app:
build:
context: .
dockerfile: ./docker/python/Dockerfile
target: developer
image: ghcr.io/approvers/imperial-household-agency:dev-${GIT_SHA:-latest}
container_name: imperial-household-agency-dev
# TODO: Change here to start a bot process!
command: ["sleep", "infinity"]
tty: true
depends_on:
- developer_db
env_file:
- "./env/local.env"
volumes:
- "./env/local.env:/opt/app/env/local.env"
develop:
watch:
- action: sync
path: .
target: /opt/app
ignore:
- .venv/
- action: rebuild
path: ./pyproject.toml
- action: rebuild
path: ./uv.lock
developer_db:
build:
context: ./docker/postgresql
dockerfile: Dockerfile
container_name: imperial-household-agency-dev-db
ports:
- "${POSTGRES_PORT}:5432"
volumes:
- developer_db_data:/var/lib/postgresql
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB}
volumes:
developer_db_data: