-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose-dev.yaml
More file actions
46 lines (43 loc) · 1.12 KB
/
compose-dev.yaml
File metadata and controls
46 lines (43 loc) · 1.12 KB
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
42
43
44
45
46
services:
app:
volumes:
- ./src:/app/src
- ./css:/app/css
- ./scripts:/app/scripts
- ./tests:/app/tests
- ./pyproject.toml:/app/pyproject.toml
- ./alembic:/app/alembic
- ./alembic.ini:/app/alembic.ini
environment:
- APP_ENV=dev
- FLASK_DEBUG=1
- APP_BASE_URL=http://localhost:5009
- MAIL_HOST=mailpit
- MAIL_PORT=1025
- MAIL_FROM=no-reply@struudel.local
- MAIL_FROM_NAME=Struudel (dev)
worker:
environment:
- APP_BASE_URL=http://localhost:5009
- MAIL_HOST=mailpit
- MAIL_PORT=1025
- MAIL_FROM=no-reply@struudel.local
- MAIL_FROM_NAME=Struudel (dev)
volumes:
- ./src:/app/src
- ./scripts:/app/scripts
- ./pyproject.toml:/app/pyproject.toml
- ./alembic:/app/alembic
- ./alembic.ini:/app/alembic.ini
postgres:
ports:
- "5432:5432"
mailpit:
image: axllent/mailpit:latest
container_name: struudel-mailpit
restart: unless-stopped
ports:
- "8025:8025"
environment:
MP_SMTP_AUTH_ACCEPT_ANY: "true"
MP_SMTP_AUTH_ALLOW_INSECURE: "true"