Created
February 26, 2018 07:17
-
-
Save jrisch/8da5bc0321e06d1c9ddcb05a3a85c33c to your computer and use it in GitHub Desktop.
This file contains hidden or 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: '2' | |
services: | |
web: | |
image: ansible/awx_web:latest | |
depends_on: | |
- rabbitmq | |
- memcached | |
- postgres | |
ports: | |
- "80:8052" | |
hostname: awxweb | |
user: root | |
restart: unless-stopped | |
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 | |
task: | |
image: ansible/awx_task:latest | |
depends_on: | |
- rabbitmq | |
- memcached | |
- web | |
- postgres | |
hostname: awx | |
user: root | |
restart: unless-stopped | |
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 | |
rabbitmq: | |
image: rabbitmq:3 | |
restart: unless-stopped | |
environment: | |
RABBITMQ_DEFAULT_VHOST: awx | |
memcached: | |
image: memcached:alpine | |
restart: unless-stopped | |
postgres: | |
image: postgres:9.6 | |
restart: unless-stopped | |
volumes: | |
- ./data/pg:/var/lib/postgresql/data:Z | |
environment: | |
POSTGRES_USER: awx | |
POSTGRES_PASSWORD: awxpass | |
POSTGRES_DB: awx | |
PGDATA: /var/lib/postgresql/data/pgdata |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment