add ferretdb
This commit is contained in:
@ -24,6 +24,55 @@ repo = "komodo/demo"
|
||||
resource_path = "resources.toml"
|
||||
delete = true
|
||||
|
||||
####################
|
||||
# FerretDB (Stack) #
|
||||
####################
|
||||
|
||||
[[stack]]
|
||||
name = "ferretdb"
|
||||
[stack.config]
|
||||
server = "demo-server"
|
||||
destroy_before_deploy = true
|
||||
file_contents = """
|
||||
services:
|
||||
|
||||
postgres:
|
||||
# Recommended: Pin to a specific version
|
||||
# https://github.com/FerretDB/documentdb/pkgs/container/postgres-documentdb
|
||||
image: ghcr.io/ferretdb/postgres-documentdb
|
||||
restart: unless-stopped
|
||||
expose:
|
||||
- 5432
|
||||
volumes:
|
||||
- data:/var/lib/postgresql/data
|
||||
environment:
|
||||
POSTGRES_USER: [[FERRETDB_USERNAME]]
|
||||
POSTGRES_PASSWORD: [[FERRETDB_PASSWORD]]
|
||||
POSTGRES_DB: postgres
|
||||
|
||||
ferretdb:
|
||||
# Recommended: Pin to a specific version
|
||||
# https://github.com/FerretDB/FerretDB/pkgs/container/ferretdb
|
||||
image: ghcr.io/ferretdb/ferretdb
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- postgres
|
||||
ports:
|
||||
- 27017:27017
|
||||
volumes:
|
||||
- state:/state
|
||||
environment:
|
||||
FERRETDB_POSTGRESQL_URL: postgres://[[FERRETDB_USERNAME]]:[[FERRETDB_PASSWORD]]@postgres:5432/postgres
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: ferretdb
|
||||
|
||||
volumes:
|
||||
data:
|
||||
state:
|
||||
"""
|
||||
|
||||
##################
|
||||
# Immich (Stack) #
|
||||
##################
|
||||
|
Reference in New Issue
Block a user