Compare commits
3 commits
ff554ddcb4
...
34c6ec0a62
Author | SHA1 | Date | |
---|---|---|---|
34c6ec0a62 | |||
2909ff1ff5 | |||
ab7bf2be1c |
1 changed files with 0 additions and 54 deletions
|
@ -1,54 +0,0 @@
|
|||
version: "3"
|
||||
services:
|
||||
devcontainer:
|
||||
container_name: devcontainer
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
|
||||
postgres:
|
||||
container_name: zipline-database
|
||||
image: postgres:16
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_USER: zipline
|
||||
POSTGRES_PASSWORD: zipline
|
||||
POSTGRES_DATABASE: zipline
|
||||
volumes:
|
||||
- pg_data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
zipline:
|
||||
container_name: zipline
|
||||
image: ghcr.io/diced/zipline:v4
|
||||
environment:
|
||||
CORE_SECRET: "secret"
|
||||
CORE_PORT: 3001
|
||||
CORE_HOSTNAME: 0.0.0.0
|
||||
DATABASE_URL: postgres://zipline:zipline@postgres:5432/zipline
|
||||
DATASOURCE_TYPE: local
|
||||
DATASOURCE_LOCAL_DIRECTORY: /zipline/uploads
|
||||
ports:
|
||||
- "3001:3001"
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- data:/zipline/public
|
||||
- themes:/zipline/themes
|
||||
- uploads:/zipline/uploads
|
||||
depends_on:
|
||||
- "postgres"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q --spider http://localhost:3001 || exit 1"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
volumes:
|
||||
pg_data:
|
||||
data:
|
||||
themes:
|
||||
uploads:
|
Loading…
Add table
Reference in a new issue