clone basic database structure from zhquiz
This commit is contained in:
1 parent
6be2365fc6
commit
11d44ccfd3
18 files changed
+1594
No files matched your search
@@ -0,0 +1,22 @@
|
||||
version: '3'
|
||||
services:
|
||||
db:
|
||||
restart: always
|
||||
build: .
|
||||
environment:
|
||||
POSTGRES_USER: &pguser postgres
|
||||
POSTGRES_PASSWORD: &pgpass postgres-passwd
|
||||
POSTGRES_DB: &pgdb jaquiz
|
||||
|
||||
TZ: &tz Asia/Bangkok
|
||||
PGTZ: *tz
|
||||
ports:
|
||||
- 5433:5432 # pgAdmin connection port
|
||||
|
||||
volumes:
|
||||
- ./pgdata:/var/lib/postgresql/data
|
||||
|
||||
- ./initdb.d:/docker-entrypoint-initdb.d
|
||||
- ./cache:/app/cache
|
||||
- ./assets:/app/assets
|
||||
- ./src:/app/src
|
||||
Reference in new issue
Block a user