version: '3'
networks:
proxy:
- external:
- name: proxy
+ external: true
services:
- proxy:
- image: nginx:1.17
+ web:
+ image: nginx:1.27-alpine
volumes:
- - ./nginx.conf:/etc/nginx/nginx.conf
+ - /etc/letsencrypt/:/etc/letsencrypt/
+ - ./conf.d/:/etc/nginx/conf.d/
environment:
- - NGINX_HOST=purplebirdman.online
- - NGINX_PORT=80
+ - NGINX_HOST=purplebirdman.com
+ - NGINX_PORT=443
ports:
- - 8080:80
+ - 443:443
networks:
- - default
- proxy