Added postgres, mysql and mailhog.

This commit is contained in:
Marvin Blum
2018-08-08 01:14:38 +02:00
commit 673e99b9df
4 changed files with 40 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
postgres/data/
mysql/data/
+10
View File
@@ -0,0 +1,10 @@
version: '2'
services:
mailhog:
image: mailhog/mailhog:v1.0.0
container_name: mailhog
restart: always
ports:
- 1025:1025
- 8025:8025
+13
View File
@@ -0,0 +1,13 @@
version: '2'
services:
mysql:
image: mysql:5.7
container_name: mysql
restart: always
ports:
- 3306:3306
environment:
- MYSQL_ROOT_PASSWORD=root
volumes:
- /home/marvin/docker/mysql/data:/var/lib/mysql
+14
View File
@@ -0,0 +1,14 @@
version: '2'
services:
mysql:
image: postgres:10
container_name: postgres
restart: always
ports:
- 5432:5432
environment:
- POSTGRES_PASSWORD=postgres
volumes:
- /home/marvin/docker/postgres/data:/var/lib/postgresql/data