move vars to yaml

This commit is contained in:
Ed Chalstrey 2022-02-08 14:09:42 +00:00
parent 622158ab5e
commit 028bbe5d69
2 changed files with 2 additions and 1 deletions

View File

@ -30,4 +30,4 @@ WORKDIR ./colouring-london/app
RUN npm install RUN npm install
EXPOSE 8080 EXPOSE 8080
# CMD /wait && PGPASSWORD=postgres PGDATABASE=colouringlondon PGUSER=dockeruser PGHOST=localhost PGPORT=5432 APP_COOKIE_SECRET=123456 npm start CMD /wait && npm start

View File

@ -26,6 +26,7 @@ services:
POSTGRES_USER: dockeruser POSTGRES_USER: dockeruser
POSTGRES_PASSWORD: postgres POSTGRES_PASSWORD: postgres
POSTGRES_DB: colouring-london-db POSTGRES_DB: colouring-london-db
APP_COOKIE_SECRET: 123456
# pgadmin: # pgadmin:
# container_name: pgadmin # container_name: pgadmin
# image: dpage/pgadmin4:4.18 # image: dpage/pgadmin4:4.18