switch example to awx3

This commit is contained in:
Muayyad Alsadi 2019-06-17 15:58:41 +03:00
parent 9f618c6ae6
commit 84a344a0ae
2 changed files with 2 additions and 69 deletions

View File

@ -1,67 +0,0 @@
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: "geerlingguy/awx_web:latest"
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: localhost
RABBITMQ_USER: guest
RABBITMQ_PASSWORD: guest
RABBITMQ_HOST: localhost
RABBITMQ_PORT: 5672
RABBITMQ_VHOST: awx
MEMCACHED_HOST: localhost
MEMCACHED_PORT: 11211
awx_task:
# image: "geerlingguy/awx_task:latest"
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: localhost
RABBITMQ_USER: guest
RABBITMQ_PASSWORD: guest
RABBITMQ_HOST: localhost
RABBITMQ_PORT: 5672
RABBITMQ_VHOST: awx
MEMCACHED_HOST: localhost
MEMCACHED_PORT: 11211

View File

@ -17,7 +17,7 @@ services:
awx_web:
# image: "geerlingguy/awx_web:latest"
image: "ansible/awx_web:latest"
image: "ansible/awx_web:3.0.1"
links:
- rabbitmq
- memcached
@ -43,7 +43,7 @@ services:
awx_task:
# image: "geerlingguy/awx_task:latest"
image: "ansible/awx_task:latest"
image: "ansible/awx_task:3.0.1"
links:
- rabbitmq
- memcached