Skip to content

Commit

Permalink
add semaphore
Browse files Browse the repository at this point in the history
  • Loading branch information
vimagick committed Nov 30, 2021
1 parent d671fd0 commit 9820b31
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions awx/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
7 changes: 7 additions & 0 deletions semaphore/README.md
Original file line number Diff line number Diff line change
@@ -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/
36 changes: 36 additions & 0 deletions semaphore/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9820b31

Please sign in to comment.