#123 Init Zipline
This commit is contained in:
parent
196dfdc781
commit
ae35c9c0e4
1
fighter/config/zipline/.env
Normal file
1
fighter/config/zipline/.env
Normal file
@ -0,0 +1 @@
|
|||||||
|
DOCKER_DATA=/mnt/nas/iscsi/zipline
|
48
fighter/config/zipline/docker-compose.yml
Normal file
48
fighter/config/zipline/docker-compose.yml
Normal 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:
|
2
fighter/config/zipline/postgres.env
Normal file
2
fighter/config/zipline/postgres.env
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
POSTGRES_USER=zipline
|
||||||
|
POSTGRES_DATABASE=zipline
|
7
fighter/config/zipline/zipline.env
Normal file
7
fighter/config/zipline/zipline.env
Normal 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
|
Loading…
Reference in New Issue
Block a user