forked from ansible/galaxy-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
92 lines (83 loc) · 1.8 KB
/
docker-compose.yaml
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
81
82
83
84
85
86
87
88
89
90
91
92
version: '3.4'
volumes:
postgres_data: {}
redis_data: {}
pulp_data: {}
services:
galaxy-api:
image: galaxy-dev/galaxy-api
build:
context: '.'
dockerfile: docker/galaxy-api/Dockerfile
env_file:
- ./docker/galaxy-api/env
ports:
- '5001:8000'
volumes:
- ./galaxy-api:/code/galaxy-api
depends_on:
- postgres
- pulp-api
pulp-api:
image: galaxy-dev/pulp
build:
context: '.'
dockerfile: docker/pulp/Dockerfile
env_file:
- ./docker/pulp/env
command: ['run', 'api']
ports:
- '5002:8000'
volumes:
- ./pulp_ansible:/code/pulp_ansible
- pulp_data:/data
depends_on:
- postgres
- redis
pulp-resource-manager:
image: galaxy-dev/pulp
env_file:
- ./docker/pulp/env
command: ['run', 'resource-manager']
volumes:
- ./pulp_ansible:/code/pulp_ansible
- pulp_data:/data
depends_on:
- postgres
- redis
pulp-worker:
image: galaxy-dev/pulp
env_file:
- ./docker/pulp/env
command: ['run', 'worker']
volumes:
- ./pulp_ansible:/code/pulp_ansible
- ./docker/importer-plugins:/code/importer-plugins
- pulp_data:/data
depends_on:
- postgres
- redis
pulp-content-app:
image: galaxy-dev/pulp
env_file:
- ./docker/pulp/env
command: ['run', 'content-app']
volumes:
- ./pulp_ansible:/code/pulp_ansible
- pulp_data:/data
depends_on:
- postgres
- redis
postgres:
image: postgres:11
env_file:
- ./docker/postgres/env
ports:
- '5432:5432'
volumes:
- ./docker/postgres/initdb.d/:/docker-entrypoint-initdb.d:ro
- postgres_data:/var/lib/postgresql/data
redis:
image: redis:5
volumes:
- redis_data:/data