Skip to content

Commit

Permalink
putted env file directive before entrypoint in docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
leoBitto committed Apr 7, 2024
1 parent 93e6844 commit be149d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ services:
- certbot_volume:/etc/letsencrypt
- ./config:/etc/letsencrypt/config
- certbot_webroot:/var/www/certbot
env_file:
- ./config/.env
entrypoint: /bin/sh -c "trap exit TERM; while :; do certbot certonly --webroot -w /var/www/certbot --email ${EMAIL} --agree-tos --no-eff-email --domains ${DOMAIN}; sleep 12h & wait $${!}; done;"
environment:
- EMAIL=leonardobitto@gmail.com
- DOMAIN=h1v3.xyz



volumes:
Expand Down

0 comments on commit be149d7

Please sign in to comment.