mirror of
https://github.com/m8tin/cis.git
synced 2025-12-06 07:48:26 +01:00
21 lines
924 B
Plaintext
21 lines
924 B
Plaintext
services:
|
|
autoacme:
|
|
container_name: autoacme
|
|
image: cis/autoacme
|
|
build: .
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
environment:
|
|
AUTOACME_CONTAINER_HOSTNAME: ${HOSTNAME:?"HINT - You may run 'export HOSTNAME' first."}
|
|
AUTOACME_GIT_REPOSITORY_VIA_SSH: 'ssh://git@git.your-domain.net/your-repo.git'
|
|
# Optionally you can set a path inside the git repository, requires a repository.
|
|
AUTOACME_PATH_IN_GIT_REPOSITORY: 'hosts/all/etc/ssl/domains/'
|
|
# Optionally you can define a alias domain, see: https://github.com/acmesh-official/acme.sh/wiki/DNS-alias-mode
|
|
AUTOACME_CHALLENGE_ALIAS: 'alias-domain.net'
|
|
# See: https://github.com/acmesh-official/acme.sh/wiki/dnsapi and search your provider like 'hetzner' e.g.
|
|
AUTOACME_DNS_PROVIDER: 'dns_hetzner'
|
|
HETZNER_Token: 'your-token'
|
|
|