-
Notifications
You must be signed in to change notification settings - Fork 0
/
local.yml
53 lines (50 loc) · 1.2 KB
/
local.yml
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
volumes:
totem_local_postgres_data: {}
totem_local_postgres_data_backups: {}
services:
django:
build:
context: .
dockerfile: ./compose/local/django/Dockerfile
image: totem_local_django
container_name: totem_local_django
depends_on:
- postgres
volumes:
- .:/app:z
env_file:
- ./.envs/.local/.django
- ./.envs/.local/.postgres
- ./.env
ports:
- "8000:8000"
command: /start
labels:
- dev.orbstack.domains=totem.local
postgres:
build:
context: .
dockerfile: ./compose/local/postgres/Dockerfile
image: totem_production_postgres
container_name: totem_local_postgres
volumes:
- totem_local_postgres_data:/var/lib/postgresql/data
- totem_local_postgres_data_backups:/backups
env_file:
- ./.envs/.local/.postgres
mailpit:
image: axllent/mailpit
container_name: mailpit
restart: always
volumes:
- ./.mailpit:/data
ports:
- 8025:8025
- 1025:1025
environment:
MP_MAX_MESSAGES: 5000
MP_DATA_FILE: /data/mailpit.db
MP_SMTP_AUTH_ACCEPT_ANY: 1
MP_SMTP_AUTH_ALLOW_INSECURE: 1
labels:
- dev.orbstack.domains=mailpit.local