Browse Source

Update docker-compose.yml

pull/1247/head
valoomba 2 years ago
committed by GitHub
parent
commit
a4bf50de10
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 22
      docker-compose.yml

22
docker-compose.yml

@ -19,14 +19,14 @@ services:
- net.ipv4.ip_forward=1 - net.ipv4.ip_forward=1
- net.ipv4.conf.all.src_valid_mark=1 - net.ipv4.conf.all.src_valid_mark=1
nginx: # nginx:
image: weejewel/nginx-with-certbot # image: weejewel/nginx-with-certbot
container_name: nginx # container_name: nginx
hostname: nginx # hostname: nginx
volumes: # volumes:
- ${HOME}/.nginx/servers/:/etc/nginx/servers/ # - ${HOME}/.nginx/servers/:/etc/nginx/servers/
- ./.nginx/letsencrypt/:/etc/letsencrypt/ # - ./.nginx/letsencrypt/:/etc/letsencrypt/
ports: # ports:
- "80:80/tcp" # - "80:80/tcp"
- "443:443/tcp" # - "443:443/tcp"
restart: unless-stopped # restart: unless-stopped

Loading…
Cancel
Save