Files
webhosting/docker-compose.example.yaml
2026-10-21 21:10:27 +02:00

25 lines
497 B
YAML

services:
webhost:
container_name: webhost
build: ./dockerfile/
volumes:
- ./www:/var/www/html/
restart: unless-stopped
environment:
- SMTP_HOST=${SMTP_HOST}
- SMTP_PORT=${SMTP_PORT}
- SMTP_USER=${SMTP_USER}
- SMTP_PASS=${SMTP_PASS}
- SMTP_FROM=${SMTP_FROM}
- SMTP_TLS=${SMTP_TLS}
- SMTP_STARTTLS=${SMTP_STARTTLS}
networks:
- nginx
- mariadb
networks:
nginx:
external: true
mariadb:
external: true