-
Notifications
You must be signed in to change notification settings - Fork 22
/
local.yml
80 lines (73 loc) · 1.71 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
version: '3.8'
volumes:
postgres15_data_local: {}
postgres15_backup_local: {}
services:
muckrock_django: &django
build:
context: .
dockerfile: ./compose/local/django/Dockerfile
network: host
image: muckrock_local_django
depends_on:
- muckrock_redis
- muckrock_postgres
volumes:
- .:/app
- ~/.netrc:/root/.netrc
environment:
- IPYTHONDIR=/app/.ipython
env_file:
- ./.envs/.local/.django
- ./.envs/.local/.postgres
command: /start
networks:
default:
aliases:
- internal.dev.muckrock.com
- internal.dev.foiamachine.org
squarelet_default:
aliases:
- internal.dev.muckrock.com
- internal.dev.foiamachine.org
muckrock_postgres:
build:
context: .
dockerfile: ./compose/production/postgres/Dockerfile15
image: muckrock_production_postgres15
volumes:
- postgres15_data_local:/var/lib/postgresql/data
- postgres15_backup_local:/backups
env_file:
- ./.envs/.local/.postgres
muckrock_redis:
image: redis:3.2
muckrock_celeryworker:
<<: *django
image: muckrock_local_celeryworker
depends_on:
- muckrock_redis
- muckrock_postgres
command: /start-celeryworker
environment:
- C_FORCE_ROOT=true
networks:
default:
aliases: []
squarelet_default:
aliases: []
muckrock_celerybeat:
<<: *django
image: muckrock_local_celerybeat
depends_on:
- muckrock_redis
- muckrock_postgres
command: /start-celerybeat
networks:
default:
aliases: []
squarelet_default:
aliases: []
networks:
squarelet_default:
external: true