diff options
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index a1ace413..3fe0f546 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,25 +1,5 @@ version: '3.6' services: - nginx: - container_name: nginx - image: nginx:1.21-alpine - restart: unless-stopped - volumes: - - ./config/nginx:/etc/nginx/conf.d - - ./config/certbot/conf:/etc/letsencrypt - - ./config/certbot/www:/var/www/certbot - ports: - - "80:80" - - "443:443" - command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'" - certbot: - container_name: certbot - image: certbot/certbot - restart: unless-stopped - volumes: - - ./config/certbot/conf:/etc/letsencrypt - - ./config/certbot/www:/var/www/certbot - entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'" ui: depends_on: - app |
