Git Product home page Git Product logo

awx's Introduction

Ansible AWX Docker service with docker-compose

This repo contains docker-compose files for Ansible AWX. It comes with nginx.

AWX Version of current branch: 15.0.1

Getting started

Clone the repo to your executing environment.

git clone https://github.com/CWollinger/awx.git

Edit the credentials for AWX and the Postgres database: credentials.py environment.sh SECRET_KEY

Start docker containers

First create the services and volumes:

docker-compose up --no-start 

Change redis socket permissions:

sudo chmod 777 /var/lib/docker/volumes/awx_redis-socket/_data/

Copy your nginx config file. Make here changes if you want to redirect SSL/https:

sudo cp nginx/default.conf /var/lib/docker/volumes/awx_nginx_config/_data/conf.d/default.conf 

Copy the AWX config files into the volumes:

sudo mkdir /var/lib/docker/volumes/awx_awx-config/_data/conf.d
sudo cp awx-web/SECRET_KEY /var/lib/docker/volumes/awx_awx-config/_data/
sudo cp awx-web/environment.sh /var/lib/docker/volumes/awx_awx-config/_data/conf.d/
sudo cp awx-web/credentials.py /var/lib/docker/volumes/awx_awx-config/_data/conf.d/
sudo cp awx-web/nginx.conf /var/lib/docker/volumes/awx_awx-nginx/_data/

Start AWX:

docker-compose up -d

Login via http://localhost with user and password stored in environment.sh.

Related projects

Related projects/used projects:

awx's People

Contributors

cwollinger avatar

Stargazers

 avatar

Watchers

 avatar  avatar

awx's Issues

question about permission

This is perhaps the last quicky-hacky docker-compose for awx on github that I can find, without requiring one to download and build from source etc.

Why are you copying files into docker volumes like that? Why not volume mount?
Is it because of some permission problems?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.