From 73bfe2534993cc331bef2499bc514414134a6a8c Mon Sep 17 00:00:00 2001 From: Mel Tamplin Date: Sun, 8 Oct 2023 17:16:09 -0400 Subject: [PATCH] feat: transfer docker run command in docker compose file to run jackson with postgres Signed-off-by: Mel Tamplin --- docker-compose.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 000000000..27a3bcc30 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,16 @@ +version: "3.6" +services: + jackson: + build: . + ports: + - "5225:5225" + command: [ "node", "server.js" ] + environment: + DB_ENGINE: "sql" + DB_TYPE: "postgres" + DB_URL: "postgres://postgres:postgres@postgres:5432/postgres" + JACKSON_API_KEYS: "secret" + NEXTAUTH_URL: "http://localhost:5225" + EXTERNAL_URL: "http://localhost:5225" + NEXTAUTH_SECRET: "super-secret" + NEXTAUTH_ADMIN_CREDENTIALS: "admin@company.com:secretpassword"