Skip to content
This repository was archived by the owner on Feb 4, 2022. It is now read-only.

Commit

Permalink
🔧 Changing configuration files because passing .env to a mysql contai…
Browse files Browse the repository at this point in the history
…ner is enough, we don't need db.sql + created a dedicated volume for mysql
  • Loading branch information
Fabio D'Amico committed Nov 2, 2018
1 parent 057994d commit 3c16d00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .docker/mysql/docker-entrypoint-initdb.d/db.sql

This file was deleted.

6 changes: 4 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
env_file:
- ./.env
volumes:
- .docker/mysql/docker-entrypoint-initdb.d/:/docker-entrypoint-initdb.d/
- openbook-data
web:
image: openbook-api:1.0
build: .
Expand All @@ -24,4 +24,6 @@ services:
depends_on:
- db
networks:
openbook-net:
openbook-net:
volumes:
openbook-data:

0 comments on commit 3c16d00

Please sign in to comment.