fix: weird docker compose hacks

pull/1/head
palid 2024-01-13 23:30:50 +01:00
parent 142e38ad95
commit c3c80d650c
Signed by: palid
SSH Key Fingerprint: SHA256:Mus3wCd2x6nxtARI0DpWGT7lIWbNy3R90BVDg0j35PI
3 changed files with 11 additions and 2 deletions

View File

@ -3,6 +3,6 @@ version: "3"
services:
db:
volumes:
- /var/spejstore-data:/var/lib/postgresql/data
- /var/spejstore-data-new:/var/lib/postgresql/data
web:
image: registry.k0.hswaw.net/palid/spejstore:1689856372
build: .

View File

@ -26,6 +26,11 @@ services:
depends_on:
db:
condition: service_healthy
env_file:
- path: .env
required: true
- path: ./spejstore-dev.env
required: false
environment:
- SPEJSTORE_CLIENT_ID
- SPEJSTORE_SECRET

View File

@ -1,3 +1,7 @@
SPEJSTORE_CLIENT_ID=inventory
SPEJSTORE_SECRET=secret
SPEJSTORE_ALLOWED_HOSTS=localhost,127.0.0.1
SPEJSTORE_DB_NAME=postgres
SPEJSTORE_DB_PASSWORD=postgres
SPEJSTORE_DB_USER=postgres
SPEJSTORE_DB_HOST=db