Example in docker-compose:
apache:
container_name: myapache
restart: always
image: ticapp/dockerapache:2.4.51-certbot
environment:
- PUBLIC_DOMAIN=my.domain.com
- BACKEND_IP=172.21.0.10
- BACKEND_PORT=8090
- BACKEND_CONTEXT_PATH=
- FRONTEND_IP=172.21.0.5
volumes:
- ../storage/frontend/apache/cert/:/usr/local/apache2/cert
- ./conf.d/:/usr/local/apache2/conf_base
- ./letsencrypt/:/usr/local/apache2/letsencrypt_base
- ../storage/frontend/letsencrypt/live:/etc/letsencrypt/live
- ../storage/frontend/apache/apache_logs/:/usr/local/apache2/error
network_mode: host
Content type
Image
Digest
sha256:96b2cdc2e…
Size
98 MB
Last updated
over 2 years ago
docker pull ticapp/dockerapache:2.4.53-certbot