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

25 lines
474 B
YAML

version: '3.5'
services:
app:
build: './build'
image: 'nginx-certbot:stable-alpine'
env_file:
- 'nginx.env.example'
networks:
- 'nginx'
ports:
- '80:80'
- '443:443'
volumes:
- 'certs:/etc/letsencrypt'
- './nginx.conf:/etc/nginx/nginx.conf'
- './conf.d:/etc/nginx/conf.d'
networks:
nginx:
external: true
volumes:
certs: