This commit refactors all code in this project to make use of docker. This has not yet been documented properly.
24 lines
517 B
YAML
24 lines
517 B
YAML
version: "3.7"
|
|
|
|
services:
|
|
runtime:
|
|
build: .
|
|
restart: always
|
|
environment:
|
|
# port and hostname for this image to use
|
|
VIRTUAL_HOST: ${VIRTUAL_HOST}
|
|
VIRTUAL_PORT: 8080
|
|
|
|
# optional letsencrypt email
|
|
LETSENCRYPT_HOST: ${LETSENCRYPT_HOST}
|
|
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL}
|
|
|
|
# the volumes to
|
|
volumes:
|
|
- ${REAL_PATH}/.composer:/var/www/.composer
|
|
- ${REAL_PATH}/data:/var/www/data
|
|
|
|
networks:
|
|
default:
|
|
external:
|
|
name: distillery
|