Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Data Logistics Service
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eFlows4HPC WP2
Data Logistics Service
Commits
f03d5444
Commit
f03d5444
authored
3 years ago
by
Christian Boettcher
Browse files
Options
Downloads
Patches
Plain Diff
re-enable letsencrypt,
adjust deploy script to persistent docker containers
parent
a4911768
No related branches found
No related tags found
No related merge requests found
Pipeline
#99418
passed
3 years ago
Stage: test
Stage: build
Stage: publish
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
dockers/docker-compose.yaml
+15
-15
15 additions, 15 deletions
dockers/docker-compose.yaml
scripts/deployment.sh
+4
-1
4 additions, 1 deletion
scripts/deployment.sh
with
19 additions
and
16 deletions
dockers/docker-compose.yaml
+
15
−
15
View file @
f03d5444
...
@@ -88,21 +88,21 @@ services:
...
@@ -88,21 +88,21 @@ services:
-
"
80:80"
-
"
80:80"
-
"
443:443"
-
"
443:443"
#
letsencrypt:
letsencrypt
:
#
image: "jrcs/letsencrypt-nginx-proxy-companion:latest"
image
:
"
jrcs/letsencrypt-nginx-proxy-companion:latest"
#
container_name: "letsencrypt-helper"
container_name
:
"
letsencrypt-helper"
#
volumes:
volumes
:
#
- "html:/usr/share/nginx/html"
-
"
html:/usr/share/nginx/html"
#
- "dhparam:/etc/nginx/dhparam"
-
"
dhparam:/etc/nginx/dhparam"
#
- "vhost:/etc/nginx/vhost.d"
-
"
vhost:/etc/nginx/vhost.d"
#
- "certs:/etc/nginx/certs"
-
"
certs:/etc/nginx/certs"
#
- "/run/docker.sock:/var/run/docker.sock:ro"
-
"
/run/docker.sock:/var/run/docker.sock:ro"
#
environment:
environment
:
#
NGINX_PROXY_CONTAINER: "reverse-proxy"
NGINX_PROXY_CONTAINER
:
"
reverse-proxy"
#
DEFAULT_EMAIL: "m.petrova@fz-juelich.de"
DEFAULT_EMAIL
:
"
m.petrova@fz-juelich.de"
#
restart: "always"
restart
:
"
always"
#
depends_on:
depends_on
:
#
- "reverse-proxy"
-
"
reverse-proxy"
postgres
:
postgres
:
image
:
postgres:13
image
:
postgres:13
...
...
This diff is collapsed.
Click to expand it.
scripts/deployment.sh
+
4
−
1
View file @
f03d5444
...
@@ -21,7 +21,7 @@ if [ -z ${6+x} ]; then unset AIRFLOW__CORE__FERNET_KEY; else export AIRFLOW__COR
...
@@ -21,7 +21,7 @@ if [ -z ${6+x} ]; then unset AIRFLOW__CORE__FERNET_KEY; else export AIRFLOW__COR
echo
"DEBUG values: OLD_DIR=
$OLD_DIR
, ENTRYPOINT_DIR=
$ENTRYPOINT
and GIT_REPO=
$GIT_REPO
"
echo
"DEBUG values: OLD_DIR=
$OLD_DIR
, ENTRYPOINT_DIR=
$ENTRYPOINT
and GIT_REPO=
$GIT_REPO
"
echo
"DEBUG using secrets backend:
$AIRFLOW__SECRETS__BACKEND
"
echo
"DEBUG using secrets backend:
$AIRFLOW__SECRETS__BACKEND
"
echo
"DEBUG backend args length:
${#
AIRFLOW__SECRETS__BACKEND_KWARGS
}
"
echo
"DEBUG backend args length:
${#
AIRFLOW__SECRETS__BACKEND_KWARGS
}
"
echo
"DEBUG fernet key:
${
AIRFLOW__CORE__FERNET_KEY
}
"
#
echo "DEBUG fernet key: ${AIRFLOW__CORE__FERNET_KEY}"
cd
$ENTRYPOINT
cd
$ENTRYPOINT
...
@@ -32,6 +32,9 @@ AIRFLOW_DIR=`pwd`
...
@@ -32,6 +32,9 @@ AIRFLOW_DIR=`pwd`
echo
"Project dir is set to:
$AIRFLOW_DIR
"
echo
"Project dir is set to:
$AIRFLOW_DIR
"
echo
"Proceeding as user
$(
whoami
)
"
echo
"Proceeding as user
$(
whoami
)
"
# clean out the target directory to ensure only new stuff is there
rm
-rf
$AIRFLOW_DIR
/
*
# Make the necessary folders for the airflow artefacts and copy the corresponging content
# Make the necessary folders for the airflow artefacts and copy the corresponging content
mkdir
-p
./dags ./logs ./plugins ./config ./templates
mkdir
-p
./dags ./logs ./plugins ./config ./templates
cd
$GIT_REPO
cd
$GIT_REPO
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment