55 lines
1.6 KiB
YAML
55 lines
1.6 KiB
YAML
# ep18: Komodo 2.3.3 nach compose/ferretdb.compose.yaml (Tag v2.3.3 im Repo moghtech/komodo).
|
|
# Abweichungen: exakte Tags statt "2" und ohne Tag, Port nur an 127.0.0.1.
|
|
services:
|
|
postgres:
|
|
image: ghcr.io/ferretdb/postgres-documentdb:17-0.107.0-ferretdb-2.7.0
|
|
labels:
|
|
komodo.skip:
|
|
restart: unless-stopped
|
|
volumes:
|
|
- postgres-data:/var/lib/postgresql/data
|
|
environment:
|
|
POSTGRES_USER: ${KOMODO_DATABASE_USERNAME}
|
|
POSTGRES_PASSWORD: ${KOMODO_DATABASE_PASSWORD}
|
|
POSTGRES_DB: postgres
|
|
ferretdb:
|
|
image: ghcr.io/ferretdb/ferretdb:2.7.0
|
|
labels:
|
|
komodo.skip:
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- postgres
|
|
volumes:
|
|
- ferretdb-state:/state
|
|
environment:
|
|
FERRETDB_POSTGRESQL_URL: postgres://${KOMODO_DATABASE_USERNAME}:${KOMODO_DATABASE_PASSWORD}@postgres:5432/postgres
|
|
core:
|
|
image: ghcr.io/moghtech/komodo-core:2.3.3
|
|
init: true
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- ferretdb
|
|
ports:
|
|
- 127.0.0.1:9120:9120
|
|
env_file: ./compose.env
|
|
environment:
|
|
KOMODO_DATABASE_ADDRESS: ferretdb:27017
|
|
volumes:
|
|
- keys:/config/keys
|
|
- ${COMPOSE_KOMODO_BACKUPS_PATH}:/backups
|
|
periphery:
|
|
image: ghcr.io/moghtech/komodo-periphery:2.3.3
|
|
init: true
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- core
|
|
env_file: ./compose.env
|
|
volumes:
|
|
- keys:/config/keys
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- /proc:/proc
|
|
- ${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo}:${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo}
|
|
volumes:
|
|
postgres-data:
|
|
ferretdb-state:
|
|
keys:
|