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.
 
 
 
 
 

84 lines
2.2 KiB

services:
db_mongo:
image: mongo
ports:
- "27019:27017"
# Base configuration
squidex_mongo:
extends:
file: docker-compose-base.yml
service: squidex_base
environment:
- ASSETS__RESIZERURL=http://resizer
- EVENTSTORE__MONGODB__DATABASE=squidex1
- STORE__MONGODB__CONTENTDATABASE=squidex1_content
- STORE__MONGODB__DATABASE=squidex1
- URLS__BASEURL=http://localhost:8080
depends_on:
- db_mongo
# Hosted on path and separate worker
squidex_mongo_path:
extends:
file: docker-compose-base.yml
service: squidex_base
environment:
- CLUSTERING__WORKER=false
- EVENTSTORE__MONGODB__DATABASE=squidex2
- STORE__MONGODB__CONTENTDATABASE=squidex2_content
- STORE__MONGODB__DATABASE=squidex2
- STORE__MONGODB__TEXTHARDCOUNT=20
- URLS__BASEPATH=squidex/
- URLS__BASEURL=http://localhost:8081/squidex/
depends_on:
- db_mongo
# Hosted on path and separate worker
squidex_mongo_path_worker:
extends:
file: docker-compose-base.yml
service: squidex_base
environment:
- CLUSTERING__WORKER=true
- EVENTSTORE__MONGODB__DATABASE=squidex2
- STORE__MONGODB__CONTENTDATABASE=squidex2_content
- STORE__MONGODB__DATABASE=squidex2
- STORE__MONGODB__TEXTHARDCOUNT=20
- URLS__BASEPATH=squidex/
- URLS__BASEURL=http://localhost:8081/squidex/
depends_on:
- db_mongo
proxy_mongo:
image: squidex/caddy-proxy:2.6.2
ports:
- "8080:8080"
environment:
- SITE_ADDRESS=http://localhost:8080
- SITE_PATH=*
- SITE_SERVER="squidex_mongo:5000"
depends_on:
- squidex_mongo
restart: unless-stopped
proxy_mongo_path:
image: squidex/caddy-proxy-path:2.6.2
ports:
- "8081:8081"
environment:
- SITE_ADDRESS=http://localhost:8081
- SITE_PATH=/squidex/*
- SITE_SERVER="squidex_mongo_path:5000"
depends_on:
- squidex_mongo_path
restart: unless-stopped
resizer:
image: squidex/resizer:1.3.0
webhookcatcher:
image: tarampampam/webhook-tester:2
command: serve --port 1026
ports:
- "1026:1026"