This repository has been archived on 2021-12-24. You can view files and clone it, but cannot push or open issues/pull-requests.
2021-01-04 14:27:32 +01:00
|
|
|
version: '3.5'
|
|
|
|
services:
|
2021-01-05 13:26:59 +01:00
|
|
|
app:
|
2021-01-05 14:28:58 +01:00
|
|
|
build: './build'
|
2021-01-04 14:27:32 +01:00
|
|
|
image: 'nginx-certbot:stable-alpine'
|
2021-01-05 13:26:59 +01:00
|
|
|
|
2021-01-09 15:15:22 +01:00
|
|
|
environment:
|
|
|
|
- 'DOMAINS'
|
|
|
|
- 'EMAIL'
|
|
|
|
- 'HTTPS_PORT'
|
|
|
|
- 'HTTP_PORT'
|
|
|
|
- 'MAIN_DOMAIN'
|
2021-01-05 13:26:59 +01:00
|
|
|
networks:
|
|
|
|
- 'nginx'
|
2021-01-04 14:27:32 +01:00
|
|
|
ports:
|
2021-01-09 15:15:22 +01:00
|
|
|
- '$HTTP_PORT:$HTTP_PORT'
|
|
|
|
- '$HTTPS_PORT:$HTTPS_PORT'
|
2021-01-04 14:27:32 +01:00
|
|
|
volumes:
|
2021-01-05 14:28:58 +01:00
|
|
|
- './nginx.conf:/etc/nginx/nginx.conf'
|
2021-01-09 15:15:22 +01:00
|
|
|
- './sites-enabled:/etc/nginx/sites-enabled'
|
|
|
|
- './templates:/etc/nginx/templates'
|
|
|
|
- 'certs:/etc/letsencrypt'
|
2021-01-04 14:27:32 +01:00
|
|
|
|
|
|
|
networks:
|
|
|
|
nginx:
|
2021-01-05 13:26:59 +01:00
|
|
|
external: true
|
2021-01-04 14:27:32 +01:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
certs:
|