20 lines
349 B
YAML
20 lines
349 B
YAML
|
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:
|