Zipline v4 Docker Compose file

Attached docker compose for Zipline v4 for ZimaOS
Zipline (v4).yml.txt (3,2 KB)

networks:
zipline_network:
name: big-bear-zipline_zipline_network
driver: bridge
ipam: {}
external: false
services:
zipline:
command: null
container_name: big-bear-zipline
depends_on:
zipline-db:
condition: service_healthy
required: true
deploy:
resources:
limits:
memory: 4GB
cpus: “1.00”
reservations:
memory: 256MB
cpus: “0.00”
placement: {}
entrypoint: null
environment:
CORE_HOSTNAME: 0.0.0.0
CORE_PORT: “3000”
CORE_SECRET: 32characterlongsecretorthiswillnotstart
DATABASE_URL: postgres://postgres:PASSWORD@zipline-db:5432/zipline
FEATURES_USER_REGISTRATION: “true”
healthcheck:
test:
- CMD
- wget
- -q
- --spider
- http://localhost:3000/api/healthcheck
timeout: 2s
interval: 15s
retries: 2
image: Package zipline · GitHub
labels:
icon: https://github.com/bigbeartechworld/big-bear-casaos/assets/1289128/3b655316-f72c-4b89-8138-0abee624e9b8
networks:
- zipline_network
ports:
- mode: ingress
target: 3000
published: “3300”
protocol: tcp
restart: unless-stopped
volumes:
- type: bind
source: /DATA/AppData/big-bear-zipline/uploads
target: /zipline/uploads
bind:
create_host_path: true
- type: bind
source: /DATA/AppData/big-bear-zipline/public
target: /zipline/public
bind:
create_host_path: true
- type: bind
source: /DATA/AppData/big-bear-zipline/themes
target: /zipline/themes
bind:
create_host_path: true
zipline-db:
command: null
container_name: big-bear-zipline-db
deploy:
resources:
limits:
memory: 4GB
cpus: “1.00”
reservations:
memory: 256MB
cpus: “0.00”
placement: {}
entrypoint: null
environment:
POSTGRES_DB: zipline
POSTGRES_PASSWORD: PASSWORD
POSTGRES_USER: postgres
healthcheck:
test:
- CMD
- pg_isready
- -U
- postgres
timeout: 5s
interval: 10s
retries: 5
image: postgres:16-alpine
labels:
icon: https://github.com/bigbeartechworld/big-bear-casaos/assets/1289128/3b655316-f72c-4b89-8138-0abee624e9b8
networks:
- zipline_network
restart: unless-stopped
volumes:
- type: bind
source: /DATA/AppData/big-bear-zipline/postgres
target: /var/lib/postgresql/data
bind:
create_host_path: true
x-casaos:
architectures:
- amd64
- arm64
author: BigBearTechWorld
category: Utilities
description:
en_US: A ShareX/file upload server that is easy to use, packed with features,
and with an easy setup!
developer: diced
hostname: “”
icon: https://github.com/bigbeartechworld/big-bear-casaos/assets/1289128/3b655316-f72c-4b89-8138-0abee624e9b8
id: com.bigbeartechworld.zipline
index: /
is_uncontrolled: false
main: zipline
port_map: “3300”
scheme: http
store_app_id: big-bear-zipline
title:
custom: Zipline (v4)
en_US: Zipline (v4)
name: compose-065d82de544a7c5b

updated setup, no service unhealthly error

networks:
default:
name: compose-065d82de544a7c5b_default
zipline_network:
driver: bridge
name: big-bear-zipline_zipline_network
services:
zipline:
container_name: big-bear-zipline
depends_on:
zipline-db:
condition: service_healthy
required: true
deploy:
resources:
limits:
memory: 4GB
cpus: “1.00”
reservations:
memory: 256MB
cpus: “0.00”
environment:
- CORE_PORT=3000
- CORE_SECRET=your-secret-32character_long
- DATABASE_URL=postgres://postgres:yourpassword@zipline-db:5432/zipline
- FEATURES_USER_REGISTRATION=false
- CORE_HOSTNAME=0.0.0.0
healthcheck:
interval: 15s
retries: 2
test:
- CMD
- wget
- -q
- --spider
- http://0.0.0.0:3000/api/healthcheck
image: Package zipline · GitHub
labels:
icon: https://github.com/bigbeartechworld/big-bear-casaos/assets/1289128/3b655316-f72c-4b89-8138-0abee624e9b8
networks:
- zipline_network
ports:
- 3000:3000
restart: unless-stopped
volumes:
- bind:
create_host_path: true
source: /DATA/AppData/big-bear-zipline/uploads
target: /zipline/uploads
type: bind
- bind:
create_host_path: true
source: /DATA/AppData/big-bear-zipline/public
target: /zipline/public
type: bind
- bind:
create_host_path: true
source: /DATA/AppData/big-bear-zipline/themes
target: /zipline/themes
type: bind
zipline-db:
container_name: big-bear-zipline-db
deploy:
resources:
limits:
memory: 4GB
cpus: “1.00”
reservations:
memory: 256MB
cpus: “0.00”
environment:
POSTGRES_DB: zipline
POSTGRES_PASSWORD: youpassword
POSTGRES_USER: postgres
healthcheck:
interval: 10s
retries: 5
test:
- CMD
- pg_isready
- -U
- postgres
timeout: 5s
image: postgres:16-alpine
labels:
icon: https://github.com/bigbeartechworld/big-bear-casaos/assets/1289128/3b655316-f72c-4b89-8138-0abee624e9b8
networks:
- zipline_network
restart: unless-stopped
volumes:
- bind:
create_host_path: true
source: /DATA/AppData/big-bear-zipline/postgres
target: /var/lib/postgresql/data
type: bind
x-casaos:
architectures:
- amd64
- arm64
author: BigBearTechWorld
category: Utilities
description:
en_US: A ShareX/file upload server that is easy to use, packed with features,
and with an easy setup!
developer: diced
hostname: “”
icon: https://github.com/bigbeartechworld/big-bear-casaos/assets/1289128/3b655316-f72c-4b89-8138-0abee624e9b8
id: com.bigbeartechworld.zipline
index: /
is_uncontrolled: false
main: zipline
port_map: “3000”
scheme: http
store_app_id: big-bear-zipline
title:
custom: Zipline
en_US: Zipline (v4)