Created
June 5, 2018 23:41
-
-
Save boris-42/d004bf5a350b0d1e8aee0376f94f5a66 to your computer and use it in GitHub Desktop.
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: '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: ansible/awx_rabbitmq:3.7.4 | |
restart: unless-stopped | |
environment: | |
RABBITMQ_DEFAULT_VHOST: awx | |
RABBITMQ_ERLANG_COOKIE: cookiemonster | |
memcached: | |
image: memcached:alpine | |
restart: unless-stopped | |
postgres: | |
image: postgres:9.6 | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment