Initial commit
This commit is contained in:
33
ansible/docker-compose.yaml
Normal file
33
ansible/docker-compose.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
services:
|
||||
semaphore-db:
|
||||
image: postgres:14-alpine
|
||||
environment:
|
||||
POSTGRES_USER: semaphore
|
||||
POSTGRES_PASSWORD: Htg5qSb8KrHvqb
|
||||
POSTGRES_DB: semaphore
|
||||
volumes:
|
||||
- semaphore-db:/var/lib/postgresql/data
|
||||
|
||||
semaphore:
|
||||
image: semaphoreui/semaphore:latest
|
||||
ports:
|
||||
- "54267:3000"
|
||||
environment:
|
||||
SEMAPHORE_DB_USER: semaphore
|
||||
SEMAPHORE_DB_PASS: Htg5qSb8KrHvqb
|
||||
SEMAPHORE_DB_HOST: semaphore-db
|
||||
SEMAPHORE_DB_PORT: 5432
|
||||
SEMAPHORE_DB_DIALECT: postgres
|
||||
SEMAPHORE_DB: semaphore
|
||||
SEMAPHORE_PLAYBOOK_PATH: /tmp/semaphore/playbooks
|
||||
# Начальные настройки админа:
|
||||
SEMAPHORE_ADMIN: admin
|
||||
SEMAPHORE_ADMIN_PASSWORD: admin
|
||||
SEMAPHORE_ADMIN_EMAIL: admin@example.com
|
||||
depends_on:
|
||||
- semaphore-db
|
||||
volumes:
|
||||
- /opt/semaphore/playbooks:/tmp/semaphore/playbooks
|
||||
|
||||
volumes:
|
||||
semaphore-db:
|
||||
Reference in New Issue
Block a user