Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ It is likely easier to use containers like `podman` or `docker` or the correspon

With podman, I have been using

```sh
podman compose up --watch
```

If you want, you can run without compose support using
```sh
podman compose up --force-recreate --build
```
Expand Down
12 changes: 12 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@ services:
- "127.0.0.1:8080:8080"
volumes:
- ./migrations:/opt/conditional/migrations
develop:
watch:
- action: sync+restart
path: ./conditional
target: /opt/conditional/conditional
ignore:
- __pycache__
- action: sync+restart
path: ./config.py
target: /opt/conditional/config.py
- action: rebuild
path: ./frontend
conditional-postgres:
image: docker.io/postgres
container_name: conditional-postgres
Expand Down