You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
689 B

version: '3'
services:
db:
restart: always
build: .
environment:
POSTGRES_USER: &pguser postgres
POSTGRES_PASSWORD: &pgpass postgress
POSTGRES_DB: &pgdb jaquiz
TZ: &tz Asia/Bangkok
PGTZ: *tz
PGUSER: *pguser
PGPASSWORD: *pgpass
PGDATABASE: *pgdb
WANIKANI_API_KEY: # required to cache to database in advance
ports:
- 5433:5432 # pgAdmin connection port
volumes:
- ./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