From e742322770a0a0ebe79fc756b752a54f9db5a433 Mon Sep 17 00:00:00 2001 From: Jonathan Rosenbaum Date: Sat, 5 May 2018 23:13:09 +0000 Subject: [PATCH] Adding docker-compose to this project! --- docker-compose.yml | 29 +++++++++++++++++++++++++++++ environment | 0 2 files changed, 29 insertions(+) create mode 100644 docker-compose.yml create mode 100644 environment diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..f6f6190 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,29 @@ +# YBDB +# Use local_configurations.php for configurations + +version: '2.1' + +services: + + ybdb: + build: . + image: bikebike/ybdb + container_name: ybdb + network_mode: "bridge" + restart: always + ports: + - "88:80" + logging: + driver: "json-file" + options: + max-size: "10m" + max-file: "3" + env_file: + - environment + volumes: + - mysql:/var/lib/mysql + - config:/var/www/html/Connections + +volumes: + mysql: + config: diff --git a/environment b/environment new file mode 100644 index 0000000..e69de29