Files
Docker/ansible/docker-compose.yaml
2026-05-25 20:27:25 +07:00

33 lines
908 B
YAML

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: