#123 Init Zipline
Some checks failed
Deploy to Fighter / Notify (push) Waiting to run
Deploy to Fighter / Deploy (push) Has been cancelled

This commit is contained in:
Joey Hafner 2024-03-10 17:51:47 -07:00
parent 196dfdc781
commit ae35c9c0e4
4 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1 @@
DOCKER_DATA=/mnt/nas/iscsi/zipline

View File

@ -0,0 +1,48 @@
version: '3.9'
services:
zipline:
image: ghcr.io/diced/zipline
container_name: zipline_zipline
restart: unless-stopped
networks:
- zipline
- web
env_file:
- path: ./zipline.env
required: true
- path: ./zipline_secrets.env
required: false
volumes:
- $DOCKER_DATA/zipline:/uploads
labels:
- traefik.http.routers.zipline.rule=Host(`zipline.jafner.net`)
- traefik.http.routers.zipline.tls.certresolver=lets-encrypt
- traefik.http.routers.zipline.tls.options=tls12@file
- traefik.http.routers.zipline.middlewares=securityheaders@file
- traefik.http.services.zipline.loadbalancer.server.port=3000
postgres:
image: postgres:15
container_name: zipline_postgres
restart: unless-stopped
networks:
zipline:
aliases:
- postgres
env_file:
- path: ./postgres.env
required: true
- path: ./postgres_secrets.env
required: false
volumes:
- $DOCKER_DATA/postgres:/var/lib/postgresql/data
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U postgres']
interval: 10s
timeout: 5s
retries: 5
networks:
web:
external: true
zipline:

View File

@ -0,0 +1,2 @@
POSTGRES_USER=zipline
POSTGRES_DATABASE=zipline

View File

@ -0,0 +1,7 @@
MFA_TOTP_ENABLED=true
WEBSITE_SHOW_FILES_PER_USER=true
WEBSITE_TITLE=Jafner.net
CORE_RETURN_HTTPS=false
CORE_HOST=0.0.0.0
CORE_PORT=3000
CORE_LOGGER=true