feat: transfer docker run command in docker compose file to run jackson with postgres

Signed-off-by: Mel Tamplin <mei.chohee@gmail.com>
This commit is contained in:
Mel Tamplin 2023-10-08 17:16:09 -04:00
parent 6e59de8d8b
commit 73bfe25349
No known key found for this signature in database
1 changed files with 16 additions and 0 deletions

16
docker-compose.yml Normal file
View File

@ -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"