-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose-dev.yaml
More file actions
54 lines (51 loc) · 1.28 KB
/
compose-dev.yaml
File metadata and controls
54 lines (51 loc) · 1.28 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
47
48
49
50
51
52
53
54
services:
app:
build:
context: .
dockerfile: Dockerfile
image: struudel:dev
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:
build:
context: .
dockerfile: Dockerfile
image: struudel:dev
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"