Quality changes to docker #16

Merged
PootisPenserHere merged 9 commits from qualityChangesToDocker into master 2018-08-12 02:07:08 +00:00
3 changed files with 8 additions and 2 deletions
Showing only changes of commit f820a22a4f - Show all commits

View File

@ -5,6 +5,8 @@ services:
build: api-payroll/
ports:
- "8085:80"
volumes:
- ./volumes/apache-logs:/var/log/apache2
depends_on:
- mysql
mysql:
@ -16,10 +18,11 @@ services:
ports:
- "3307:3307"
volumes:
- my-datavolume:/var/lib/mysql
- ./volumes/mysql-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: '12345678'
MYSQL_USER: 'sloth'
MYSQL_PASS: '12345678'
volumes:
my-datavolume:
mysql-data:
apache-logs:

2
volumes/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
mysql-data/
apache-logs/

1
volumes/README.md Normal file
View File

@ -0,0 +1 @@
# Do not delete this directory, it'll contain the volumes created by the containers