forked from r03ert0/brainspell
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from BIDS-collaborative/dav
Working docker-compose system
- Loading branch information
Showing
31 changed files
with
88 additions
and
466 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
data/ | ||
*.lock.file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM php:5.6-apache | ||
# Testing if this is necessary... | ||
# RUN apt-get update && apt-get install -y php5-mysql | ||
|
||
# This may not be the best way, but it's a way | ||
# It may be redundant with php5-mysql above, but probably that gets all the | ||
# dependencies we need | ||
RUN docker-php-ext-install mysqli | ||
RUN docker-php-ext-install mbstring | ||
|
||
# Need to enable headers module | ||
RUN ln -s /etc/apache2/mods-available/headers.load /etc/apache2/mods-enabled | ||
|
||
# This was the only option not already set for /var/www in apache conf, but we | ||
# don't need directory listings to my knowledge... | ||
# Options Indexes | ||
|
||
# These are already set for /var/www | ||
# AllowOverride All | ||
# Require all granted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
web: | ||
build: apache | ||
ports: | ||
# We map to port 8000, as some folks may be using Docker directly on a | ||
# host already running a web server on port 80 | ||
- "8000:80" | ||
links: | ||
- db | ||
volumes: | ||
- ../site/:/var/www/html/ | ||
|
||
db: | ||
build: mysql | ||
environment: | ||
MYSQL_ROOT_PASSWORD: beo8hkii | ||
MYSQL_DATABASE: brainspell | ||
volumes: | ||
# Creates trouble unless we make it world-writable or play tricks to | ||
# match the group or user id inside and outside the container. | ||
# By default, some Docker magic will create an external volume | ||
# somewhere... | ||
# - ./mysql/storage/:/var/lib/mysql/ | ||
- ./mysql/data:/docker-entrypoint-initdb.d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM mysql:5.7 | ||
# Image takes the following vars, see https://hub.docker.com/_/mysql/ | ||
# MYSQL_ROOT_PASSWORD=beo8hkii | ||
# MYSQL_DATABASE=brainspell | ||
# (these will be unused) | ||
# MYSQL_USER, MYSQL_PASSWORD | ||
# MYSQL_ALLOW_EMPTY_PASSWORD | ||
|
||
# it will execute files with extensions .sh and .sql that are found in | ||
# /docker-entrypoint-initdb.d. You can easily populate your mysql services by | ||
# mounting a SQL dump into that directory | ||
|
||
# We'll run this like so: | ||
# docker run --name some-mysql -v /my/own/datadir:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:tag |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.