2020-06-09 18:14:49 +02:00
|
|
|
# Use root/example as user/password credentials
|
|
|
|
version: "3.1"
|
|
|
|
|
|
|
|
services:
|
|
|
|
db:
|
|
|
|
image: mariadb
|
|
|
|
restart: always
|
2020-08-24 10:18:42 +02:00
|
|
|
command: --init-file /data/application/init.sql
|
|
|
|
volumes:
|
|
|
|
- ./init.sql:/data/application/init.sql
|
2020-06-09 18:14:49 +02:00
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: example
|
2020-07-27 18:39:44 +02:00
|
|
|
expose:
|
|
|
|
- "3306"
|
|
|
|
ports:
|
|
|
|
- "3306:3306"
|
2020-06-09 18:14:49 +02:00
|
|
|
|
|
|
|
adminer:
|
|
|
|
image: adminer
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 8080:8080
|
2020-12-20 16:44:30 +01:00
|
|
|
|
|
|
|
mailcatcher:
|
|
|
|
image: schickling/mailcatcher:latest
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:1080:1080"
|
|
|
|
- "127.0.0.1:1025:1025"
|