try create a database
This commit is contained in:
1 parent
0908e51791
commit
792fa60030
19 files changed
+112
-22
No files matched your search
+7
-1
@@ -5,11 +5,15 @@ services:
|
||||
build: .
|
||||
environment:
|
||||
POSTGRES_USER: &pguser postgres
|
||||
POSTGRES_PASSWORD: &pgpass postgres-passwd
|
||||
POSTGRES_PASSWORD: &pgpass postgress
|
||||
POSTGRES_DB: &pgdb jaquiz
|
||||
|
||||
TZ: &tz Asia/Bangkok
|
||||
PGTZ: *tz
|
||||
|
||||
PGUSER: *pguser
|
||||
PGPASSWORD: *pgpass
|
||||
PGDATABASE: *pgdb
|
||||
ports:
|
||||
- 5433:5432 # pgAdmin connection port
|
||||
|
||||
@@ -17,6 +21,8 @@ services:
|
||||
- ./pgdata:/var/lib/postgresql/data
|
||||
|
||||
- ./initdb.d:/docker-entrypoint-initdb.d
|
||||
# - ./node_modules:/app/node_modules
|
||||
- ./cache:/app/cache
|
||||
- ./assets:/app/assets
|
||||
- ./scripts:/app/scripts
|
||||
- ./src:/app/src
|
||||
Reference in new issue
Block a user