mirror of
https://github.com/OHTU-German-learning-website/OHTU-German-learning-website.git
synced 2026-10-12 19:13:51 +03:00
axel/setup db n migrations (#29)
* setup db & migrations * bugfixes * README updates * updates to readme * not tracking .env.dev * README update * cleanup * updated db logic to allow for test db * remove unnecessary await --------- Co-authored-by: Jukka Kuusto <38991418+jkuusto@users.noreply.github.com>
This commit is contained in:
co-authored by
Jukka Kuusto
parent
c0c4d96e0d
commit
6ded19a4ec
+1
-3
@@ -5,8 +5,6 @@ services:
|
||||
container_name: gradesa-db
|
||||
environment:
|
||||
POSTGRES_PASSWORD: password
|
||||
POSTGRES_USER: tsoha
|
||||
POSTGRES_DB: gradesa
|
||||
volumes:
|
||||
- pg-data:/var/lib/postgresql/data/
|
||||
- ./provision_db.sql:/docker-entrypoint-initdb.d/1_provision_db.sql
|
||||
@@ -14,7 +12,7 @@ services:
|
||||
ports:
|
||||
- "6543:5432"
|
||||
healthcheck:
|
||||
test: ["CMD", "pg_isready", "-U", "tsoha"]
|
||||
test: ["CMD", "pg_isready", "-U", "postgres"]
|
||||
interval: 10s
|
||||
retries: 20
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user