Moved on git

master
Meliurwen 4 years ago
commit d5e83ed271
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 10
      .env.example
  2. 1
      .gitignore
  3. 18
      docker-compose.yml
  4. 5
      php-website.env.example

@ -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=

1
.gitignore vendored

@ -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…
Cancel
Save