Commit 8880b639 authored by Andreas Burbach's avatar Andreas Burbach
Browse files

remove not needed stuff

parent 0cbd3673
Pipeline #75027 failed with stages
in 22 seconds
......@@ -10,32 +10,6 @@ services:
- ./the_social_network:/code
networks:
- 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:
webnet:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment