RustyCMS: file-based headless CMS — API, Admin UI (content, types, assets), Docker/Caddy, image transform; only demo type and demo content in version control
Made-with: Cursor
This commit is contained in:
26
docker-compose.local.yml
Normal file
26
docker-compose.local.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
rustycms:
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- ./content:/data/content
|
||||
- ./types:/data/types
|
||||
environment:
|
||||
RUSTYCMS_CONTENT_DIR: /data/content
|
||||
RUSTYCMS_TYPES_DIR: /data/types
|
||||
RUSTYCMS_BASE_URL: http://localhost:3000
|
||||
RUSTYCMS_API_KEY: local-dev-key
|
||||
RUSTYCMS_LOCALES: de,en
|
||||
RUSTYCMS_CORS_ORIGIN: "*"
|
||||
|
||||
admin-ui:
|
||||
build:
|
||||
context: ./admin-ui
|
||||
args:
|
||||
NEXT_PUBLIC_RUSTYCMS_API_URL: http://localhost:3000
|
||||
NEXT_PUBLIC_RUSTYCMS_API_KEY: local-dev-key
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3001:3001"
|
||||
Reference in New Issue
Block a user