Last active
January 1, 2018 17:52
-
-
Save muayyad-alsadi/4f2db7a0a5ed4e6b8da0033cb1da47ab to your computer and use it in GitHub Desktop.
AWX docker compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
postgres: | |
image: "postgres:9.6" | |
environment: | |
POSTGRES_USER: awx | |
POSTGRES_PASSWORD: awxpass | |
POSTGRES_DB: awx | |
rabbitmq: | |
image: "rabbitmq:3" | |
environment: | |
RABBITMQ_DEFAULT_VHOST: awx | |
memcached: | |
image: "memcached:alpine" | |
awx_web: | |
image: "ansible/awx_web:latest" | |
links: | |
- rabbitmq | |
- memcached | |
- postgres | |
ports: | |
- "8080:8052" | |
hostname: awxweb | |
user: root | |
environment: | |
SECRET_KEY: aabbcc | |
DATABASE_USER: awx | |
DATABASE_PASSWORD: awxpass | |
DATABASE_NAME: awx | |
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_task: | |
image: "ansible/awx_task:latest" | |
links: | |
- rabbitmq | |
- memcached | |
- awx_web:awxweb | |
- postgres | |
hostname: awx | |
user: root | |
environment: | |
SECRET_KEY: aabbcc | |
DATABASE_USER: awx | |
DATABASE_PASSWORD: awxpass | |
DATABASE_NAME: awx | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment