Skip to content

Commit 86f5a33

Browse files
authored
Merge pull request #1322 from DouglasNeuroInformatics/addProjectNameEnvVar
Add the $PROJECT_NAME variable to the .env file to customize the docker container'…
2 parents ac960a1 + b220417 commit 86f5a33

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.env.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
## PRODUCTION
33
## ---------------------------------
44

5+
# Project Name that will be prefixed to docker containers
6+
PROJECT_NAME=open-data-capture
7+
58
# The domain name to use for your site in the production compose stack
69
SITE_ADDRESS=:80
710
# The domain name to use for the gateway service in the production compose stack

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: open-data-capture
1+
name: ${PROJECT_NAME:-open-data-capture}
22
volumes:
33
caddy_data:
44
services:

0 commit comments

Comments
 (0)