mirror of
https://github.com/moghtech/komodo.git
synced 2026-04-28 11:49:39 -05:00
57 lines
1.1 KiB
YAML
57 lines
1.1 KiB
YAML
services:
|
|
core:
|
|
build:
|
|
context: .
|
|
dockerfile: bin/core/aio.Dockerfile
|
|
restart: unless-stopped
|
|
logging:
|
|
driver: local
|
|
networks:
|
|
- default
|
|
environment:
|
|
KOMODO_FIRST_SERVER: https://periphery:8120
|
|
KOMODO_DATABASE_ADDRESS: ferretdb
|
|
KOMODO_ENABLE_NEW_USERS: true
|
|
KOMODO_LOCAL_AUTH: true
|
|
KOMODO_JWT_SECRET: a_random_secret
|
|
volumes:
|
|
- repo-cache:/repo-cache
|
|
|
|
periphery:
|
|
build:
|
|
context: .
|
|
dockerfile: bin/periphery/aio.Dockerfile
|
|
restart: unless-stopped
|
|
logging:
|
|
driver: local
|
|
networks:
|
|
- default
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- /proc:/proc
|
|
- repos:/etc/komodo/repos
|
|
- stacks:/etc/komodo/stacks
|
|
environment:
|
|
PERIPHERY_INCLUDE_DISK_MOUNTS: /etc/hostname
|
|
|
|
ferretdb:
|
|
image: ghcr.io/ferretdb/ferretdb
|
|
restart: unless-stopped
|
|
logging:
|
|
driver: local
|
|
networks:
|
|
- default
|
|
environment:
|
|
- FERRETDB_HANDLER=sqlite
|
|
volumes:
|
|
- data:/state
|
|
|
|
networks:
|
|
default: {}
|
|
|
|
volumes:
|
|
data:
|
|
repo-cache:
|
|
repos:
|
|
stacks:
|