-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.development.yaml
More file actions
41 lines (38 loc) · 925 Bytes
/
compose.development.yaml
File metadata and controls
41 lines (38 loc) · 925 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
services:
mailpit:
image: axllent/mailpit
container_name: mailpit
restart: unless-stopped
volumes:
- ./data:/data
ports:
- "8025:8025"
- "1025:1025"
depends_on:
server:
condition: service_started
environment:
MP_MAX_MESSAGES: 5000
MP_DATABASE: /data/mailpit.db
MP_SMTP_AUTH_ACCEPT_ANY: 1
MP_SMTP_AUTH_ALLOW_INSECURE: 1
server:
build:
context: .
secrets:
- db-password
target: dev
extends:
file: compose.yaml
service: server
db:
environment:
- MARIADB_DATABASES="db db_test"
extends:
file: compose.yaml
service: db
volumes:
db-data:
secrets:
db-password:
file: database/password.txt