Docker deployment #6

Merged
brandonegg merged 20 commits from dokkku-deploy into main 2024-02-28 14:59:14 -06:00
2 changed files with 16 additions and 3 deletions
Showing only changes of commit 0d67624b91 - Show all commits

View File

@ -18,4 +18,7 @@ NEXTAUTH_URL="http://localhost:3000"
DATABASE_URL=
# Admin account details
ADMIN_PASSWORD="password"
ADMIN_PASSWORD="password"
# Dictates the build process for the Dockerfile:
RUNNER_ENV=development

View File

@ -2,9 +2,19 @@ version: '3'
services:
uiowa-atr:
build: .
build:
context: .
args:
- NEXTAUTH_SECRET
- JWT_SECRET
- NEXTAUTH_URL
- DATABASE_URL
- RUNNER_ENV
restart: always
ports:
- "1234:3000"
environment:
NODE_ENV: production
- NEXTAUTH_SECRET
- NEXTAUTH_URL
- DATABASE_URL
- JWT_SECRET