pass build args
This commit is contained in:
parent
a4c813069a
commit
0d67624b91
@ -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
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user