1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/semaphore/docker-compose.yml

42 lines
1.0 KiB
YAML
Raw Normal View History

2021-11-30 12:30:28 +02:00
version: "3.8"
services:
semaphore:
2023-10-16 08:24:29 +02:00
image: semaphoreui/semaphore:v2.9.37
2021-11-30 12:30:28 +02:00
ports:
- "3000:3000"
volumes:
2023-04-27 11:06:19 +02:00
#- ./data:/var/lib/semaphore/
2023-11-27 07:42:34 +02:00
- ./data:/etc/semaphore
2021-11-30 12:30:28 +02:00
environment:
2023-11-27 10:29:57 +02:00
ANSIBLE_HOST_KEY_CHECKING: "False"
2023-04-27 11:06:19 +02:00
#SEMAPHORE_DB_DIALECT: bolt
2023-10-16 08:24:29 +02:00
#SEMAPHORE_DB_PATH: /var/lib/semaphore
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
2023-11-27 07:42:34 +02:00
working_dir: /etc/semaphore
2021-11-30 12:30:28 +02:00
depends_on:
- postgres
restart: unless-stopped
postgres:
2023-10-16 08:24:29 +02:00
image: postgres:16-alpine
2021-11-30 12:30:28 +02:00
ports:
- "5432:5432"
volumes:
- ./data/postgres:/var/lib/postgresql/data
environment:
POSTGRES_USER: semaphore
POSTGRES_PASSWORD: semaphore
POSTGRES_DB: semaphore
restart: unless-stopped