From 028bbe5d693b84d35feb3716a6d17237e04077d6 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Tue, 8 Feb 2022 14:09:42 +0000 Subject: [PATCH] move vars to yaml --- Dockerfile | 2 +- docker-compose.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0e2530d8..f60b5d6c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,4 +30,4 @@ WORKDIR ./colouring-london/app RUN npm install EXPOSE 8080 -# CMD /wait && PGPASSWORD=postgres PGDATABASE=colouringlondon PGUSER=dockeruser PGHOST=localhost PGPORT=5432 APP_COOKIE_SECRET=123456 npm start \ No newline at end of file +CMD /wait && npm start \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 900062e3..baa0494d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -26,6 +26,7 @@ services: POSTGRES_USER: dockeruser POSTGRES_PASSWORD: postgres POSTGRES_DB: colouring-london-db + APP_COOKIE_SECRET: 123456 # pgadmin: # container_name: pgadmin # image: dpage/pgadmin4:4.18