diff --git a/default/docker-compose.yaml b/default/docker-compose.yaml new file mode 100644 index 0000000..19c14c3 --- /dev/null +++ b/default/docker-compose.yaml @@ -0,0 +1,25 @@ +version: '3.8' +services: + webhost: + container_name: webhost + image: webhost:8.5 + 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