1
0
mirror of https://github.com/fspc/ybdb.git synced 2025-02-28 10:43:22 -05:00

Adding docker-compose to this project!

This commit is contained in:
Jonathan Rosenbaum 2018-05-05 23:13:09 +00:00
parent 8cdd58fccb
commit e742322770
2 changed files with 29 additions and 0 deletions

29
docker-compose.yml Normal file
View File

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

0
environment Normal file
View File