Skip to content

Commit

Permalink
add awx
Browse files Browse the repository at this point in the history
  • Loading branch information
vimagick committed Jan 16, 2019
1 parent 905d7a4 commit ff7cca5
Showing 1 changed file with 89 additions and 0 deletions.
89 changes: 89 additions & 0 deletions awx/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
version: '2'

services:

web:
image: ansible/awx_web
ports:
- "8052:8052"
hostname: awxweb
user: root
volumes:
- ./data/awx:/var/lib/awx/projects
environment:
http_proxy: ''
https_proxy: ''
no_proxy: ''
SECRET_KEY: awxsecret
DATABASE_NAME: awx
DATABASE_USER: awx
DATABASE_PASSWORD: awxpass
DATABASE_PORT: 5432
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_ADMIN_USER: admin
AWX_ADMIN_PASSWORD: password
depends_on:
- rabbitmq
- memcached
- postgres
restart: unless-stopped

task:
image: ansible/awx_task
hostname: awx
user: root
volumes:
- ./data/awx:/var/lib/awx/projects
environment:
http_proxy: ''
https_proxy: ''
no_proxy: ''
SECRET_KEY: awxsecret
DATABASE_NAME: awx
DATABASE_USER: awx
DATABASE_PASSWORD: awxpass
DATABASE_HOST: postgres
DATABASE_PORT: 5432
RABBITMQ_USER: guest
RABBITMQ_PASSWORD: guest
RABBITMQ_HOST: rabbitmq
RABBITMQ_PORT: 5672
RABBITMQ_VHOST: awx
MEMCACHED_HOST: memcached
MEMCACHED_PORT: 11211
AWX_ADMIN_USER: admin
AWX_ADMIN_PASSWORD: password
depends_on:
- rabbitmq
- memcached
- web
- postgres
restart: unless-stopped

rabbitmq:
image: ansible/awx_rabbitmq
environment:
RABBITMQ_DEFAULT_VHOST: awx
RABBITMQ_ERLANG_COOKIE: cookiemonster
restart: unless-stopped

memcached:
image: memcached:alpine
restart: unless-stopped

postgres:
image: postgres:9.6-alpine
volumes:
- ./data/postgres:/var/lib/postgresql/data
environment:
POSTGRES_USER: awx
POSTGRES_PASSWORD: awxpass
POSTGRES_DB: awx
restart: unless-stopped

0 comments on commit ff7cca5

Please sign in to comment.