Komodo initial commit

This commit is contained in:
2025-02-16 09:43:02 +02:00
parent 216371ea59
commit 2dcef3a1f9
7 changed files with 285 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
services:
ferretdb:
container_name: ${FERRETDB_CONTAINER_NAME}
image: ${FERRETDB_IMAGE}
restart: ${FERRETDB_RESTART_POLICY}
security_opt:
- no-new-privileges:true
labels:
- "komodo.skip=" # Prevent Komodo from stopping with StopAllContainers
#depends_on:
# - postgres
logging:
driver: ${COMPOSE_LOGGING_DRIVER:-local}
networks:
- komodo
# ports:
# - 27017:27017
env_file: ../env/komodo.env
environment:
#- FERRETDB_POSTGRESQL_URL=postgres://komodo:komodo@10.0.6.178/komodo?sslmode=disable
- FERRETDB_POSTGRESQL_URL=postgres://${PSQL_HOST}:${PSQL_PORT}/${KOMODO_DATABASE_DB_NAME:-komodo}?sslmode=disable
#networks:
# komodo: {}