forked from wiktor/spejstore-new
fix: weird docker compose hacks
This commit is contained in:
parent
142e38ad95
commit
c3c80d650c
|
@ -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: .
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue