Headless CMS and Content Managment Hub
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

55 lines
1.5 KiB

services:
db_postgres:
image: ghcr.io/ferretdb/postgres-documentdb:17-0.105.0-ferretdb-2.4.0
command: postgres -c log_lock_waits=on -c deadlock_timeout=1s -c log_min_messages=warning
restart: on-failure
environment:
- POSTGRES_USER=username
- POSTGRES_PASSWORD=password
- POSTGRES_DB=postgres
volumes:
- ./data:/var/lib/postgresql/data
db_ferretdb:
image: ghcr.io/ferretdb/ferretdb:2.4.0
restart: on-failure
ports:
- 27017:27017
environment:
- FERRETDB_POSTGRESQL_URL=postgres://username:password@db_postgres:5432/postgres
squidex_ferretdb:
extends:
file: docker-compose-base.yml
service: squidex_base
environment:
- EVENTSTORE__MONGODB__CONFIGURATION=mongodb://username:password@db_ferretdb/
- EVENTSTORE__MONGODB__DERIVATE=FerretDb
- STORE__TYPE=MongoDb
- STORE__MONGODB__CONFIGURATION=mongodb://username:password@db_ferretdb/
- STORE__MONGODB__DERIVATE=FerretDb
- URLS__BASEURL=http://localhost:8080
depends_on:
db_ferretdb:
condition: service_healthy
proxy_ferretdb:
image: squidex/caddy-proxy-path:2.6.2
ports:
- "8080:8080"
environment:
- SITE_ADDRESS=http://localhost:8080
- SITE_PATH=*
- SITE_SERVER="squidex_ferretdb:5000"
depends_on:
- squidex_ferretdb
restart: unless-stopped
webhookcatcher:
image: tarampampam/webhook-tester:2
command: serve --port 1026
ports:
- "1026:1026"
volumes:
ferretdb_data: