-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdevelopment.yml
More file actions
57 lines (52 loc) · 1.21 KB
/
development.yml
File metadata and controls
57 lines (52 loc) · 1.21 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
55
56
57
version: '3'
volumes:
local_postgres_data: {}
local_postgres_data_backups: {}
services:
django:
build:
context: .
dockerfile: ./compose/local/django/Dockerfile
image: services_local_django
container_name: django-bb
depends_on:
- postgres
- mailhog
volumes:
- .:/app:z
env_file:
- ./.envs/.local/.django
- ./.envs/.local/.postgres
ports:
- "8000:8000"
command: /start
postgres:
build:
context: .
dockerfile: ./compose/production/postgres/Dockerfile
image: services_production_postgres
container_name: postgres-bb
volumes:
- local_postgres_data:/var/lib/postgresql/data:Z
- local_postgres_data_backups:/backups:z
env_file:
- ./.envs/.local/.postgres
# docs:
# image: services_local_docs
# container_name: docs-bb
# build:
# context: .
# dockerfile: ./compose/local/docs/Dockerfile
# env_file:
# - ./.envs/.local/.django
# volumes:
# - ./docs:/docs:z
# - ./config:/app/config:z
# - ./services:/app/services:z
# ports:
# - "7000:7000"
mailhog:
image: mailhog/mailhog:v1.0.0
container_name: mailhog-bb
ports:
- "8025:8025"