diff --git a/README.md b/README.md index 2762d471d..4ebb544d2 100644 --- a/README.md +++ b/README.md @@ -415,6 +415,7 @@ A collection of delicious docker recipes. - [x] firefox - [x] vnc - [x] selenoid-ui +- [x] ansiblesemaphore/semaphore - [x] sentry - [x] atmoz/sftp - [x] snipe/snipe-it diff --git a/awx/docker-compose.yml b/awx/docker-compose.yml index 2b6528d6c..4e8d4b70e 100644 --- a/awx/docker-compose.yml +++ b/awx/docker-compose.yml @@ -52,7 +52,7 @@ services: restart: unless-stopped redis: - image: redis:5-alpine + image: redis:6-alpine container_name: awx_redis command: ["/usr/local/etc/redis/redis.conf"] volumes: @@ -61,7 +61,7 @@ services: restart: unless-stopped postgres: - image: postgres:13-alpine + image: postgres:14-alpine container_name: awx_postgres volumes: - ./data/postgres:/var/lib/postgresql/data/pgdata:Z diff --git a/semaphore/README.md b/semaphore/README.md new file mode 100644 index 000000000..5dbecbc94 --- /dev/null +++ b/semaphore/README.md @@ -0,0 +1,7 @@ +semaphore +========= + +Ansible [Semaphore][1] is beautiful web interface for running Ansible playbooks. You +do not need to change your playbooks to start using it. + +[1]: https://ansible-semaphore.com/ diff --git a/semaphore/docker-compose.yml b/semaphore/docker-compose.yml new file mode 100644 index 000000000..2211482be --- /dev/null +++ b/semaphore/docker-compose.yml @@ -0,0 +1,36 @@ +version: "3.8" + +services: + + semaphore: + image: ansiblesemaphore/semaphore:v2.8.22 + ports: + - "3000:3000" + volumes: + - ./data/semaphore:/etc/semaphore + environment: + SEMAPHORE_DB_USER: semaphore + SEMAPHORE_DB_PASS: semaphore + SEMAPHORE_DB_HOST: postgres + SEMAPHORE_DB_PORT: 3306 + SEMAPHORE_DB: semaphore + SEMAPHORE_PLAYBOOK_PATH: /tmp/semaphore/ + SEMAPHORE_ADMIN: admin + SEMAPHORE_ADMIN_NAME: admin + SEMAPHORE_ADMIN_PASSWORD: admin + SEMAPHORE_ADMIN_EMAIL: admin@localhost + depends_on: + - postgres + restart: unless-stopped + + postgres: + image: postgres:14-alpine + ports: + - "5432:5432" + volumes: + - ./data/postgres:/var/lib/postgresql/data + environment: + POSTGRES_USER: semaphore + POSTGRES_PASSWORD: semaphore + POSTGRES_DB: semaphore + restart: unless-stopped