Skip to content
Snippets Groups Projects
Unverified Commit e29f3041 authored by Martin Weise's avatar Martin Weise
Browse files

Finally deployed the nginx server again

parent 28a08789
No related branches found
No related tags found
No related merge requests found
FROM nginx:latest
COPY ./site /usr/share/nginx/html
\ No newline at end of file
......@@ -6,19 +6,15 @@ all: build
clean:
rm -rf ./site
docker container stop docs-server || true
docker container rm docs-server || true
install-deps:
pip3 install -r ./dockerhub/requirements.txt
sudo pip3 install -r ./requirements.txt
release: install-deps
python3 ./dockerhub/release.py
build:
mkdocs build
docker compose build
sudo cp -r ./site/* /usr/share/nginx/html
install: install-deps build
sudo certbot certonly --standalone --preferred-challenges http -d dbrepo-docs.ossdip.at --agree-tos --keep-until-expiring
docker compose up -d
\ No newline at end of file
sudo certbot --nginx --preferred-challenges http -d dbrepo-docs.ossdip.at --agree-tos --keep-until-expiring
version: "3.6"
services:
docs-server:
build: .
container_name: dbrepo-docs-server
hostname: dbrepo-docs-server
volumes:
- /etc/letsencrypt/live/:/tmp:ro
ports:
- 80:80
\ No newline at end of file
requests>=2.27.0
py-dotenv>=0.1
\ No newline at end of file
mkdocs==1.3.0
mkdocs-material==8.2.9
mkdocs-with-pdf==0.9.3
pymdown-extensions>=9.5
mkdocs-material-extensions>=1.0.3
mike>=1.1.2
requests>=2.27.0
py-dotenv>=0.1
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment