docker部署zipline文件管理
文件部署
https://zipline.diced.sh/docs/get-started
docker-compose.yml
version: '3'
services:
postgres:
image: postgres:15
restart: unless-stopped
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DATABASE=postgres
volumes:
- pg_data:/var/lib/postgresql/data
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U postgres']
interval: 10s
timeout: 5s
retries: 5
zipline:
image: ghcr.io/diced/zipline
restart: unless-stopped
ports:
- '8092:3000'
environment:
- CORE_SECRET=changethis
- CORE_DATABASE_URL=postgres://postgres:postgres@postgres/postgres
volumes:
- './uploads:/zipline/uploads'
- './public:/zipline/public'
depends_on:
- 'postgres'
volumes:
pg_data:
License:
CC BY 4.0