-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (46 loc) · 828 Bytes
/
docker-compose.yml
File metadata and controls
46 lines (46 loc) · 828 Bytes
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
version: '2'
services:
db:
image: postgres
environment:
- POSTGRES_USER=pulp
- POSTGRES_PASSWORD=pulp
ports:
- '127.0.0.1:5432:5432'
volumes:
- ./.volume/postgres:/var/lib/postgresql/data
redis:
image: redis
ports:
- '127.0.0.1:6379:6379'
api:
image: pulp-api
env_file: .env
depends_on:
- db
- redis
ports:
- '24817:24817'
volumes:
- ./.volume/pulp:/var/lib/pulp
content:
image: pulp-content
env_file: .env
depends_on:
- db
- api
ports:
- '24816:24816'
volumes:
- ./.volume/pulp:/var/lib/pulp
worker:
image: pulp-worker
deploy:
replicas: 2
env_file: .env
depends_on:
- db
- api
- redis
volumes:
- ./.volume/pulp:/var/lib/pulp