1
0
mirror of https://github.com/RostislavDugin/certbot-nginx-docker.git synced 2024-11-19 00:41:43 +02:00
certbot-nginx-docker/docker-compose.yml
Rostislav Dugin c491004950 init
2024-02-08 22:33:55 +03:00

27 lines
502 B
YAML

version: "3"
services:
nginx:
image: nginx:1.23.3
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./nginx/cert.pem:/etc/cert.pem
- ./nginx/key.pem:/etc/key.pem
ports:
- "80:80"
- "443:443"
certbot:
ports:
- "6000:80"
env_file:
- .env
volumes:
- ./nginx/:/etc/nginx/
build:
context: ./certbot
dockerfile: Dockerfile
args:
DOMAIN_EMAIL: ${DOMAIN_EMAIL}
DOMAIN_URL: ${DOMAIN_URL}