-
clone this project
-
copy config files samples:
cp .pgpass.sample .pgpass
cp src/config/config.json.sample src/config/config.json
-
For prod:
- set plain pg password in
.pgpass
file - set this password in
src/config/config.json
- set NODE_ENV environment variable to
production
innode
service indocker-compose.yml
- remove
default
network fromdb
service indocker-compose.yml
- set plain pg password in
-
run
docker-compose up