2021-11-30 12:30:28 +02:00
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
semaphore:
|
2022-06-27 10:27:19 +02:00
|
|
|
image: ansiblesemaphore/semaphore:v2.8.53
|
2021-11-30 12:30:28 +02:00
|
|
|
ports:
|
|
|
|
- "3000:3000"
|
|
|
|
volumes:
|
|
|
|
- ./data/semaphore:/etc/semaphore
|
|
|
|
environment:
|
2021-11-30 13:03:01 +02:00
|
|
|
SEMAPHORE_DB_DIALECT: postgres
|
2021-11-30 12:30:28 +02:00
|
|
|
SEMAPHORE_DB_USER: semaphore
|
|
|
|
SEMAPHORE_DB_PASS: semaphore
|
|
|
|
SEMAPHORE_DB_HOST: postgres
|
2021-11-30 13:03:01 +02:00
|
|
|
SEMAPHORE_DB_PORT: 5432
|
|
|
|
SEMAPHORE_DB: semaphore?sslmode=disable
|
2021-11-30 12:30:28 +02:00
|
|
|
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
|