Created
February 24, 2020 15:51
-
-
Save dmglab/e8cd8f6e3f3316ab1fe442b60db6a659 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: '2' | |
services: | |
web: | |
image: ansible/awx_web:latest | |
container_name: awx_web | |
depends_on: | |
- rabbitmq | |
- memcached | |
- postgres | |
ports: | |
- "80:8052" | |
hostname: awxweb | |
user: root | |
restart: unless-stopped | |
volumes: | |
- "~/.awx/awxcompose/SECRET_KEY:/etc/tower/SECRET_KEY" | |
- "~/.awx/awxcompose/environment.sh:/etc/tower/conf.d/environment.sh" | |
- "~/.awx/awxcompose/credentials.py:/etc/tower/conf.d/credentials.py" | |
- "~/.awx/awxcompose/nginx.conf:/etc/nginx/nginx.conf:ro" | |
environment: | |
http_proxy: | |
https_proxy: | |
no_proxy: | |
task: | |
image: ansible/awx_task:9.2.0 | |
container_name: awx_task | |
depends_on: | |
- rabbitmq | |
- memcached | |
- web | |
- postgres | |
hostname: awx | |
user: root | |
restart: unless-stopped | |
volumes: | |
- "~/.awx/awxcompose/SECRET_KEY:/etc/tower/SECRET_KEY" | |
- "~/.awx/awxcompose/environment.sh:/etc/tower/conf.d/environment.sh" | |
- "~/.awx/awxcompose/credentials.py:/etc/tower/conf.d/credentials.py" | |
environment: | |
http_proxy: | |
https_proxy: | |
no_proxy: | |
rabbitmq: | |
image: ansible/awx_rabbitmq:3.7.4 | |
container_name: awx_rabbitmq | |
restart: unless-stopped | |
environment: | |
RABBITMQ_DEFAULT_VHOST: "awx" | |
RABBITMQ_DEFAULT_USER: "guest" | |
RABBITMQ_DEFAULT_PASS: "awxpass" | |
RABBITMQ_ERLANG_COOKIE: cookiemonster | |
http_proxy: | |
https_proxy: | |
no_proxy: | |
memcached: | |
image: "memcached:alpine" | |
container_name: awx_memcached | |
restart: unless-stopped | |
environment: | |
http_proxy: | |
https_proxy: | |
no_proxy: | |
postgres: | |
image: postgres:10 | |
container_name: awx_postgres | |
restart: unless-stopped | |
volumes: | |
- ~/.awx/pgdocker/10/data/:/var/lib/postgresql/data/pgdata:Z | |
environment: | |
POSTGRES_USER: awx | |
POSTGRES_PASSWORD: awxpass | |
POSTGRES_DB: awx | |
PGDATA: /var/lib/postgresql/data/pgdata | |
http_proxy: | |
https_proxy: | |
no_proxy: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment