Skip to content
Snippets Groups Projects
Commit 8880b639 authored by Andreas Burbach's avatar Andreas Burbach
Browse files

remove not needed stuff

parent 0cbd3673
No related branches found
No related tags found
1 merge request!1Merge feedingChickenWithChicken into main
Pipeline #75027 failed
...@@ -11,31 +11,5 @@ services: ...@@ -11,31 +11,5 @@ services:
networks: networks:
- webnet - webnet
nginx:
container_name: nginx
image: nginx:latest
restart: always
depends_on:
- the_social_network
- certbot
volumes:
- ./nginx/production/:/etc/nginx/conf.d
- ./nginx/certbot/conf:/etc/letsencrypt
- ./nginx/certbot/www:/var/www/certbot
networks:
- webnet
ports:
- "80:80"
- "443:443"
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
certbot:
image: certbot/certbot:latest
restart: unless-stopped
volumes:
- ./nginx/certbot/conf:/etc/letsencrypt
- ./nginx/certbot/www:/var/www/certbot
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
networks: networks:
webnet: webnet:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment