backend/stack.yml
Filip Izydorczyk a294ecac37 Servcice mail
2020-12-20 16:44:30 +01:00

29 lines
644 B
YAML
Executable File

# Use root/example as user/password credentials
version: "3.1"
services:
db:
image: mariadb
restart: always
command: --init-file /data/application/init.sql
volumes:
- ./init.sql:/data/application/init.sql
environment:
MYSQL_ROOT_PASSWORD: example
expose:
- "3306"
ports:
- "3306:3306"
adminer:
image: adminer
restart: always
ports:
- 8080:8080
mailcatcher:
image: schickling/mailcatcher:latest
ports:
- "127.0.0.1:1080:1080"
- "127.0.0.1:1025:1025"