commit
d5e83ed271
@ -0,0 +1,10 @@ |
||||
# Global Settings |
||||
TZ=Europe/Berlin |
||||
LOCAL_STACK_DIR=/srv/docker/volumes/php-website |
||||
|
||||
# Networks |
||||
NETWORK=webservices |
||||
|
||||
# static-websites |
||||
PHP_CONTAINER_NAME= |
||||
PHP_RESTART= |
@ -0,0 +1 @@ |
||||
*.env |
@ -0,0 +1,18 @@ |
||||
version: "3" |
||||
|
||||
services: |
||||
php-website: |
||||
container_name: ${PHP_CONTAINER_NAME:-php-website} |
||||
image: php:7-apache |
||||
restart: ${PHP_RESTART:-unless-stopped} |
||||
volumes: |
||||
- ${LOCAL_STACK_DIR}/wwww:/var/www/html |
||||
env_file: |
||||
- php-website.env |
||||
environment: |
||||
TZ: ${TZ} |
||||
|
||||
networks: |
||||
default: |
||||
external: |
||||
name: ${NETWORK} |
@ -0,0 +1,5 @@ |
||||
# Reverse-proxy and certbot |
||||
VIRTUAL_HOST=subdomain.domain.tld |
||||
VIRTUAL_PORT=80 |
||||
LETSENCRYPT_HOST=subdomain.domain.tld |
||||
LETSENCRYPT_EMAIL=username@domain.tld |
Loading…
Reference in new issue