Compare commits

..

3 commits

Author SHA1 Message Date
34c6ec0a62
Merge pull request 'Add Dev Container' (#2) from devcontainer into main
Some checks failed
Actions / Build (push) Successful in 14s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 17s
Actions / Build Documentation (MkDocs) (push) Successful in 22s
Reviewed-on: https://www.coastalcommits.com/cswimr/PyZipline/pulls/2
2025-01-29 05:23:34 -05:00
2909ff1ff5
add devcontainer
Some checks failed
Actions / Build (push) Failing after 3s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 16s
Actions / Build Documentation (MkDocs) (push) Successful in 23s
Actions / Build (pull_request) Successful in 14s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 16s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 24s
2025-01-29 04:22:28 -06:00
ab7bf2be1c
fixed documentation failing to build
Some checks failed
Actions / Build (push) Successful in 10s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 12s
Actions / Build Documentation (MkDocs) (push) Successful in 21s
2024-10-21 16:41:21 -04:00

View file

@ -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: