Files
myos/stack/host/certbot.yml
T
Yann Autissier 1d1b5156bc add nginx proxy
2022-12-15 15:20:12 +00:00

22 lines
459 B
YAML

version: '3.6'
services:
certbot:
build:
args:
- DOCKER_BUILD_DIR=docker/certbot
context: ../..
dockerfile: docker/certbot/Dockerfile
command: start
container_name: ${HOST_COMPOSE_PROJECT_NAME}-certbot
image: ${HOST_DOCKER_REPOSITORY}/certbot:${DOCKER_IMAGE_TAG}
network_mode: host
restart: always
volumes:
- host:/etc/letsencrypt
volumes:
host:
external: true
name: ${HOST_DOCKER_VOLUME}