This PR contains the following updates: | Package | Update | Change | |---|---|---| | postgres | minor | `18.2-alpine` → `18.3-alpine` | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My40My4wIiwidXBkYXRlZEluVmVyIjoiNDMuNDMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsidHlwZS9kZXBlbmRlbmNpZXMiXX0=--> Reviewed-on: #12 Co-authored-by: renovate[bot] <renovate-bot@git.tainton.uk> Co-committed-by: renovate[bot] <renovate-bot@git.tainton.uk>
36 lines
916 B
YAML
36 lines
916 B
YAML
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
# Alternatively, you can use a pre-built image:
|
|
# image: "git.tainton.uk/repos/documize-docker:latest"
|
|
restart: "unless-stopped"
|
|
environment:
|
|
- "DOCUMIZEPORT=5001"
|
|
- "DOCUMIZESALT=your_salt_here"
|
|
- "DOCUMIZEDBTYPE=postgresql"
|
|
- "DOCUMIZEDB=host=db port=5432 dbname=documize user=documize password=${DB_PASSWORD} sslmode=disable"
|
|
ports:
|
|
- "80:5001/tcp"
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
|
|
db:
|
|
image: postgres:18.3-alpine
|
|
restart: unless-stopped
|
|
environment:
|
|
- POSTGRES_USER=documize
|
|
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
|
- POSTGRES_DB=documize
|
|
volumes:
|
|
- "./db:/var/lib/postgresql/18/docker"
|
|
healthcheck:
|
|
test:
|
|
- CMD-SHELL
|
|
- pg_isready -U documize
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|