-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
91 lines (84 loc) · 2.02 KB
/
docker-compose.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
81
82
83
84
85
86
87
88
89
90
91
version: '2'
services:
web:
image: ansible/awx_web:4.0.0
container_name: awx_web
depends_on:
- rabbitmq
- memcached
- postgres
ports:
- "80:8052"
hostname: awxweb
user: root
restart: unless-stopped
volumes:
- "/tmp/awxcompose/SECRET_KEY:/etc/tower/SECRET_KEY"
- "/tmp/awxcompose/environment.sh:/etc/tower/conf.d/environment.sh"
- "/tmp/awxcompose/credentials.py:/etc/tower/conf.d/credentials.py"
environment:
http_proxy:
https_proxy:
no_proxy:
task:
image: ansible/awx_task:4.0.0
container_name: awx_task
depends_on:
- rabbitmq
- memcached
- web
- postgres
hostname: awx
user: root
restart: unless-stopped
volumes:
- "/tmp/awxcompose/SECRET_KEY:/etc/tower/SECRET_KEY"
- "/tmp/awxcompose/environment.sh:/etc/tower/conf.d/environment.sh"
- "/tmp/awxcompose/credentials.py:/etc/tower/conf.d/credentials.py"
environment:
http_proxy:
https_proxy:
no_proxy:
rabbitmq:
image: ansible/awx_rabbitmq:3.7.4
container_name: awx_rabbitmq
restart: unless-stopped
environment:
RABBITMQ_DEFAULT_VHOST: "awx"
RABBITMQ_DEFAULT_USER: "guest"
RABBITMQ_DEFAULT_PASS: "awxpass"
RABBITMQ_ERLANG_COOKIE: cookiemonster
http_proxy:
https_proxy:
no_proxy:
memcached:
image: memcached:alpine
container_name: awx_memcached
restart: unless-stopped
environment:
http_proxy:
https_proxy:
no_proxy:
postgres:
image: postgres:9.6
container_name: awx_postgres
restart: unless-stopped
volumes:
- /tmp/pgdocker:/var/lib/postgresql/data:Z
environment:
POSTGRES_USER: awx
POSTGRES_PASSWORD: awxpass
POSTGRES_DB: awx
PGDATA: /var/lib/postgresql/data/pgdata
http_proxy:
https_proxy:
no_proxy:
dash:
build: ./uwsgi
image: dash
container_name: dash
restart: unless-stopped
ports:
- "8000:8000"
depends_on:
- task