Skip to content

Commit

Permalink
Organizing volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
atw527 committed Nov 10, 2017
1 parent a560c5f commit 825803a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker-compose.download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ services:
volumes:
- /etc/hostname:/etc/docker_hostname:ro
- ~/.ssh/id_rsa:/root/.ssh/id_rsa:ro
- ./src/download:/usr/local/bin:ro
- ./data:/usr/local/data
- ./src/download:/usr/local/bin
environment:
MASTER: "server-13"
MYSQL_HOST: "a01-mysql-01"
Expand Down
7 changes: 4 additions & 3 deletions docker-compose.front.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ services:
context: .
dockerfile: Dockerfile.front
volumes:
- ./src/front:/usr/local/bin
- /etc/hostname:/etc/docker_hostname:ro
- ./etc/php.ini:/etc/php/7.0/apache2/php.ini:ro
- ./etc/000-default.conf:/etc/apache2/sites-available/000-default.conf:ro
- ./src/front:/var/www/html:ro
- ./data:/usr/local/data
- ./etc/php.ini:/etc/php/7.0/apache2/php.ini
- ./etc/000-default.conf:/etc/apache2/sites-available/000-default.conf
expose:
- "80"
ports:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.match.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ services:
volumes:
- /etc/hostname:/etc/docker_hostname:ro
- ~/.ssh/id_rsa:/root/.ssh/id_rsa:ro
- ./src/match:/usr/local/bin:ro
- ./data:/usr/local/data
- ./src/match:/usr/local/bin
environment:
MASTER: "server-13"
MYSQL_HOST: "a01-mysql-01"
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.render.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ services:
volumes:
- /etc/hostname:/etc/docker_hostname:ro
- ~/.ssh/id_rsa:/root/.ssh/id_rsa:ro
- ./src/render:/usr/local/bin:ro
- ./data:/usr/local/data
- ./src/render:/usr/local/bin
environment:
MASTER: "server-13"
MYSQL_HOST: "a01-mysql-01"
Expand Down

0 comments on commit 825803a

Please sign in to comment.