2017-04-26 22:35:49 +02:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
postal:
|
|
|
|
build: .
|
|
|
|
image: postal
|
|
|
|
container_name: postal
|
2017-04-27 10:38:29 +02:00
|
|
|
volumes:
|
2017-04-27 21:33:05 +02:00
|
|
|
- ./data/postal:/opt/postal/config
|
2017-04-27 09:50:07 +02:00
|
|
|
environment:
|
|
|
|
- POSTAL_HOSTNAME=idontknow.nowhere.com
|
2017-04-27 10:29:03 +02:00
|
|
|
- MYSQL_ROOT_PASSWORD=changeme
|
|
|
|
- MYSQL_DATABASE=postal
|
|
|
|
- RABBITMQ_DEFAULT_USER=postal
|
|
|
|
- RABBITMQ_DEFAULT_PASS=changeme
|
|
|
|
- RABBITMQ_DEFAULT_VHOST=postal
|
2017-04-27 09:50:07 +02:00
|
|
|
mysql:
|
|
|
|
image: mariadb:10
|
|
|
|
container_name: postal_mysql
|
2017-04-27 11:36:31 +02:00
|
|
|
volumes:
|
|
|
|
- ./data/mysql:/var/lib/mysql
|
2017-04-27 09:50:07 +02:00
|
|
|
environment:
|
|
|
|
- MYSQL_ROOT_PASSWORD=changeme
|
|
|
|
- MYSQL_DATABASE=postal
|
|
|
|
rabbitmq:
|
|
|
|
image: rabbitmq:3-alpine
|
|
|
|
container_name: postal_rabbitmq
|
|
|
|
environment:
|
|
|
|
- RABBITMQ_DEFAULT_USER=postal
|
|
|
|
- RABBITMQ_DEFAULT_PASS=changeme
|
2017-04-27 10:29:03 +02:00
|
|
|
- RABBITMQ_DEFAULT_VHOST=/postal
|