fix: weird docker compose hacks

master
Dariusz Niemczyk 2024-01-13 23:30:50 +01:00
rodzic 142e38ad95
commit c3c80d650c
Nie znaleziono w bazie danych klucza dla tego podpisu
3 zmienionych plików z 11 dodań i 2 usunięć

Wyświetl plik

@ -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: .

Wyświetl plik

@ -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

Wyświetl plik

@ -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