25 lines
474 B
YAML
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:
|