Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
fda-docs
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
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
FAIR Data Austria DB Repository
fda-docs
Commits
67ab3b7e
Unverified
Commit
67ab3b7e
authored
2 years ago
by
Martin Weise
Browse files
Options
Downloads
Patches
Plain Diff
Updated the certbot
parent
b69e6ba5
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
Dockerfile
+2
-31
2 additions, 31 deletions
Dockerfile
Makefile
+5
-6
5 additions, 6 deletions
Makefile
docker-compose.yml
+6
-17
6 additions, 17 deletions
docker-compose.yml
with
14 additions
and
54 deletions
.gitignore
+
1
−
0
View file @
67ab3b7e
## Generated
## Generated
site/
site/
tmp/
node_modules/
node_modules/
*.bkp
*.bkp
swagger/**/docs/*.md
swagger/**/docs/*.md
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
2
−
31
View file @
67ab3b7e
FROM
debian:stable
as
build
FROM
nginx:latest
ENV
PYTHONUNBUFFERED=1
COPY
./site /usr/share/nginx/html
\ No newline at end of file
RUN
apt-get update
&&
apt-get
install
-y
python3 python3-pip git
COPY
requirements.txt ./requirements.txt
RUN
pip3
install
-r
./requirements.txt
COPY
./docs/images ./docs/images
COPY
./docs/operation ./docs/operation
COPY
./docs/stylesheets ./docs/stylesheets
COPY
./docs/videos ./docs/videos
COPY
./docs/contact.md ./docs/contact.md
COPY
./docs/getting-started.md ./docs/getting-started.md
COPY
./docs/index.md ./docs/index.md
COPY
./docs/publications.md ./docs/publications.md
COPY
./docs/system.md ./docs/system.md
COPY
./mkdocs.yml ./mkdocs.yml
RUN
git clone git@gitlab.phaidra.org:fair-data-austria-db-repository/fda-docs.git
WORKDIR
./fda-docs
# 1.2
RUN
mike deploy 1.2
# 1.1
RUN
git checkout beec500012949c1baa197c72d52e383276a8fd02
RUN
mike deploy 1.1
ENTRYPOINT
[ "mkdocs", "build" ]
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Makefile
+
5
−
6
View file @
67ab3b7e
...
@@ -6,6 +6,8 @@ all: build
...
@@ -6,6 +6,8 @@ all: build
clean
:
clean
:
rm
-rf
./site
rm
-rf
./site
docker container stop docs-server
||
true
docker container
rm
docs-server
||
true
release-deps
:
release-deps
:
pip3
install
-r
./dockerhub/requirements.txt
pip3
install
-r
./dockerhub/requirements.txt
...
@@ -15,10 +17,7 @@ release: release-deps
...
@@ -15,10 +17,7 @@ release: release-deps
build
:
build
:
docker compose build
docker compose build
docker compose up
version
:
install
:
build
mike list
sudo
certbot certonly
--standalone
--preferred-challenges
http
-d
dbrepo-docs.ossdip.at
--agree-tos
--keep-until-expiring
docker compose up
-d
install
:
build version
\ No newline at end of file
sudo cp
-r
./site/
*
/usr/share/nginx/html/
\ No newline at end of file
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
6
−
17
View file @
67ab3b7e
version
:
"
3.6"
version
:
"
3.6"
networks
:
fda-public
:
name
:
fda-public
driver
:
bridge
ipam
:
config
:
-
subnet
:
172.29.0.0/16
services
:
services
:
fda-
docs-
build
er
:
docs-
serv
er
:
build
:
.
build
:
.
image
:
fda-docs-builder
container_name
:
dbrepo-docs-server
hostname
:
dbrepo-docs-server
volumes
:
volumes
:
-
./site:/site
-
/etc/letsencrypt/live/:/tmp:ro
networks
:
ports
:
-
fda-public
-
80:80
environment
:
\ No newline at end of file
TZ
:
Europe/Vienna
logging
:
driver
:
json-file
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