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
Raw Normal View History

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
env_file:
- 'nginx.env.example'
networks:
- 'nginx'
2021-01-04 14:27:32 +01:00
ports:
- '80:80'
- '443:443'
volumes:
- 'certs:/etc/letsencrypt'
2021-01-05 14:28:58 +01:00
- './nginx.conf:/etc/nginx/nginx.conf'
- './conf.d:/etc/nginx/conf.d'
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: