This repository has been archived by the owner on Apr 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 82
/
container.yml
75 lines (69 loc) · 1.79 KB
/
container.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
version: "2"
settings:
conductor_base: centos:7
services:
postgres:
from: "postgres:9.6"
roles: []
environment:
- "POSTGRES_USER={{ pg_username }}"
- "POSTGRES_PASSWORD={{ pg_password }}"
- "POSTGRES_DB={{ pg_database }}"
rabbitmq:
from: "rabbitmq:3"
roles: []
environment:
- "RABBITMQ_DEFAULT_VHOST=awx"
memcached:
from: "memcached:alpine"
roles: []
awx_web:
from: "awx_web:{{ awx_repo_version }}"
ports:
- "{{ awx_host_port }}:8052"
hostname: awxweb
links:
- rabbitmq
- memcached
- postgres
environment:
- "SECRET_KEY={{ awx_secret_key }}"
- "DATABASE_USER={{ pg_username }}"
- "DATABASE_PASSWORD={{ pg_password }}"
- "DATABASE_NAME={{ pg_database }}"
- "DATABASE_PORT={{ pg_port }}"
- "DATABASE_HOST=postgres"
- "RABBITMQ_USER=guest"
- "RABBITMQ_PASSWORD=guest"
- "RABBITMQ_HOST=rabbitmq"
- "RABBITMQ_PORT=5672"
- "RABBITMQ_VHOST=awx"
- "MEMCACHED_HOST=memcached"
- "MEMCACHED_PORT=11211"
awx_task:
from: "awx_task:{{ awx_repo_version }}"
links:
- rabbitmq
- memcached
- awx_web:awxweb
- postgres
hostname: awx
environment:
- "SECRET_KEY={{ awx_secret_key }}"
- "DATABASE_USER={{ pg_username }}"
- "DATABASE_PASSWORD={{ pg_password }}"
- "DATABASE_NAME={{ pg_database }}"
- "DATABASE_HOST=postgres"
- "DATABASE_PORT={{ pg_port }}"
- "RABBITMQ_USER=guest"
- "RABBITMQ_PASSWORD=guest"
- "RABBITMQ_HOST=rabbitmq"
- "RABBITMQ_PORT=5672"
- "RABBITMQ_VHOST=awx"
- "MEMCACHED_HOST=memcached"
- "MEMCACHED_PORT=11211"
registries:
docker:
url: https://docker.io
namespace: geerlingguy
repository_prefix: ''