mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-23 20:04:24 +00:00
refactor: rename containers as docker compositions, as they are
This commit is contained in:
42
docker compositions/semaphoreui/docker-compose.postgres.yml
Normal file
42
docker compositions/semaphoreui/docker-compose.postgres.yml
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
|
||||
# Sources:
|
||||
# - https://github.com/semaphoreui/semaphore
|
||||
# - https://docs.semaphoreui.com/administration-guide/installation#docker
|
||||
|
||||
services:
|
||||
postgres:
|
||||
restart: unless-stopped
|
||||
image: postgres:16
|
||||
hostname: postgres
|
||||
volumes:
|
||||
- semaphore-postgres:/var/lib/postgresql/data
|
||||
environment:
|
||||
POSTGRES_USER: semaphore
|
||||
POSTGRES_PASSWORD: semaphore
|
||||
POSTGRES_DB: semaphore
|
||||
semaphore:
|
||||
depends_on:
|
||||
- postgres
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 3000:3000
|
||||
image: semaphoreui/semaphore:latest
|
||||
environment:
|
||||
TZ: Europe/Berlin
|
||||
SEMAPHORE_DB_USER: semaphore
|
||||
SEMAPHORE_DB_PASS: semaphore
|
||||
SEMAPHORE_DB_HOST: postgres
|
||||
SEMAPHORE_DB_PORT: 5432
|
||||
SEMAPHORE_DB_DIALECT: postgres
|
||||
SEMAPHORE_DB: semaphore
|
||||
SEMAPHORE_PLAYBOOK_PATH: /tmp/semaphore/
|
||||
SEMAPHORE_ADMIN_PASSWORD: changeme
|
||||
SEMAPHORE_ADMIN_NAME: admin
|
||||
SEMAPHORE_ADMIN_EMAIL: admin@localhost
|
||||
SEMAPHORE_ADMIN: admin
|
||||
SEMAPHORE_ACCESS_KEY_ENCRYPTION: # generate with `head -c32 /dev/urandom | base64`
|
||||
volumes:
|
||||
- ./data/etc/semaphore:/etc/semaphore # config.json location
|
||||
volumes:
|
||||
semaphore-postgres:
|
||||
Reference in New Issue
Block a user