Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
Doorcode
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Guardians of the Kretschmar Elock System
Doorcode
Commits
73c69357
Commit
73c69357
authored
Dec 15, 2020
by
Jacob Priddy
👌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
actually specify the right path for the .env
I am so tired and just want to go to sleep :(
parent
6b487568
Pipeline
#13218
failed with stages
in 3 minutes and 56 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
.gitlab-ci.yml
.gitlab-ci.yml
+2
-2
nginx.Dockerfile
nginx.Dockerfile
+1
-0
No files found.
.gitlab-ci.yml
View file @
73c69357
...
...
@@ -98,10 +98,10 @@ deploy application:
src/frontend
src/install-dev.sh
src/backend/node_modules
.env
src/backend/
.env
-
docker-compose -f docker-compose.prod.yml build
-
sed -i "s/\(^DB_PASSWORD=\).*/\1$(cat $POSTGRES_PASSWORD)/" $PROJ_DIR/.env
-
cp $PROJ_DIR/.env .env
-
cp $PROJ_DIR/.env
src/backend/
.env
-
docker build -t $DOORCODE_IMAGE_NAME -f prod.Dockerfile .
-
docker build --build-arg APP_IMAGE=$DOORCODE_IMAGE_NAME -t $NGINX_IMAGE_NAME -f nginx.Dockerfile .
-
docker stack deploy -c docker-compose.prod.yml doorcode --prune
...
...
nginx.Dockerfile
View file @
73c69357
...
...
@@ -8,3 +8,4 @@ COPY --from=source /var/www ${WORKDIR}
COPY
simplesamlphp-1.19.0-rc1/ ../simplesamlphp
COPY
nginx/conf.d/prod.conf /etc/nginx/conf.d/prod.conf
COPY
nginx/dhparam/ /run/dhparam
RUN
rm
-rf
backend/.env
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment