This repository has been archived on 2021-12-24. You can view files and clone it, but cannot push or open issues/pull-requests.
|
version: '3.5'
|
|
services:
|
|
app:
|
|
build: './nginx'
|
|
image: 'nginx-certbot:stable-alpine'
|
|
|
|
env_file:
|
|
- 'nginx.env.example'
|
|
networks:
|
|
- 'nginx'
|
|
ports:
|
|
- '80:80'
|
|
- '443:443'
|
|
volumes:
|
|
- 'certs:/etc/letsencrypt'
|
|
- './config:/etc/nginx/conf.d'
|
|
|
|
networks:
|
|
nginx:
|
|
external: true
|
|
|
|
volumes:
|
|
certs:
|