1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 17:56:53 +02:00

add semaphore

This commit is contained in:
kev 2021-11-30 18:30:28 +08:00
parent d671fd0c76
commit 9820b31d73
4 changed files with 46 additions and 2 deletions

View File

@ -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

View File

@ -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

7
semaphore/README.md Normal file
View File

@ -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/

View File

@ -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