This repository has been archived on 2021-12-24. You can view files and clone it, but cannot push or open issues/pull-requests.
self-hosting/nginx/docker-compose.yml

20 lines
349 B
YAML
Raw Normal View History

2021-01-04 14:27:32 +01:00
version: '3.5'
services:
nginx:
build: './nginx'
image: 'nginx-certbot:stable-alpine'
ports:
- '80:80'
- '443:443'
networks:
- 'nginx'
volumes:
- 'certs:/etc/letsencrypt'
- './config:/etc/nginx/conf.d'
networks:
nginx:
volumes:
certs: