mirror of
https://github.com/Kugelschieber/docker.git
synced 2026-01-18 06:40:26 +00:00
Added postgres, mysql and mailhog.
This commit is contained in:
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
postgres/data/
|
||||
mysql/data/
|
||||
|
||||
10
mailhog/docker-compose.yml
Normal file
10
mailhog/docker-compose.yml
Normal 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
mysql/docker-compose.yml
Normal file
13
mysql/docker-compose.yml
Normal 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
postgres/docker-compose.yml
Normal file
14
postgres/docker-compose.yml
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user