initial config
parent
1fcb805772
commit
41892343d6
|
@ -0,0 +1,35 @@
|
|||
version: "3.7"
|
||||
|
||||
services:
|
||||
chibisafe:
|
||||
environment:
|
||||
CHUNK_SIZE: 90
|
||||
SECRET: "wowfcgMHqZHwOIMLadWrKu3liyqPOOILpDLSDvuxq3YGhJmiZXJCVpnF96l11WfR"
|
||||
ADMIN_ACCOUNT: "admin"
|
||||
ADMIN_PASSWORD: "admin"
|
||||
# OVERWRITE_SETTINGS: 'false'
|
||||
# ROUTE_PREFIX: /api
|
||||
# RATE_LIMIT_WINDOW: 2
|
||||
# RATE_LIMIT_MAX: 5
|
||||
# BLOCKED_EXTENSIONS: '.jar,.exe,.msi,.com,.bat,.cmd,.scr,.ps1,.sh'
|
||||
# META_THEME_COLOR: '#20222b'
|
||||
# META_DESCRIPTION: 'Blazing fast file uploader and bunker written in node! 🚀'
|
||||
# META_KEYWORDS: 'chibisafe,upload,uploader,file,vue,images,ssr,file uploader,free'
|
||||
# META_TWITTER_HANDLE: ''
|
||||
# SERVER_PORT: 5000
|
||||
# DOMAIN: 'http://chibisafe.moe'
|
||||
# SERVICE_NAME: chibisafe
|
||||
# MAX_SIZE: 5000
|
||||
# GENERATE_THUMBNAILS: 'true'
|
||||
# GENERATE_ZIPS: 'true'
|
||||
# STRIP_EXIF: 'true'
|
||||
# SERVE_WITH_NODE: 'true'
|
||||
# GENERATED_FILENAME_LENGTH: 6
|
||||
# GENERATED_ALBUM_LENGTH: 4
|
||||
# PUBLIC_MODE: 'false'
|
||||
# USER_ACCOUNTS: 'true'
|
||||
# DB_CLIENT: 'sqlite3'
|
||||
# DB_HOST: ''
|
||||
# DB_USER: ''
|
||||
# DB_PASSWORD: ''
|
||||
# DB_DATABASE: ''
|
|
@ -0,0 +1,15 @@
|
|||
version: "3.7"
|
||||
|
||||
services:
|
||||
chibisafe:
|
||||
volumes:
|
||||
- chibisafe-data:/usr/chibisafe/uploads
|
||||
- chibisafe-database:/usr/chibisafe/database
|
||||
|
||||
volumes:
|
||||
nginx-data:
|
||||
name: "nginx-data"
|
||||
chibisafe-data:
|
||||
name: "chibisafe-data"
|
||||
chibisafe-database:
|
||||
name: "chibisafe-database"
|
|
@ -0,0 +1,59 @@
|
|||
version: "3.7"
|
||||
|
||||
services:
|
||||
nginx:
|
||||
build:
|
||||
context: ./nginx
|
||||
dockerfile: Dockerfile
|
||||
expose:
|
||||
- "80"
|
||||
- "443"
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "service", "nginx", "status"]
|
||||
interval: 60s
|
||||
timeout: 5s
|
||||
|
||||
chibisafe:
|
||||
build:
|
||||
context: ../
|
||||
dockerfile: ./docker/chibisafe/Dockerfile
|
||||
expose:
|
||||
- "5000"
|
||||
- "5001"
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
OVERWRITE_SETTINGS: "false"
|
||||
CHUNK_SIZE: 90
|
||||
ROUTE_PREFIX: /api
|
||||
RATE_LIMIT_WINDOW: 2
|
||||
RATE_LIMIT_MAX: 5
|
||||
BLOCKED_EXTENSIONS: ".jar,.exe,.msi,.com,.bat,.cmd,.scr,.ps1,.sh"
|
||||
SECRET: ""
|
||||
MAX_LINKS_PER_ALBUM: 5
|
||||
META_THEME_COLOR: "#20222b"
|
||||
META_DESCRIPTION: "Blazing fast file uploader and bunker written in node! 🚀"
|
||||
META_KEYWORDS: "chibisafe,upload,uploader,file,vue,images,ssr,file uploader,free"
|
||||
META_TWITTER_HANDLE: ""
|
||||
SERVER_PORT: 5000
|
||||
DOMAIN: "http://localhost:5000"
|
||||
SERVICE_NAME: chibisafe
|
||||
MAX_SIZE: 5000
|
||||
GENERATE_THUMBNAILS: "true"
|
||||
GENERATE_ZIPS: "true"
|
||||
STRIP_EXIF: "true"
|
||||
SERVE_WITH_NODE: "true"
|
||||
GENERATED_FILENAME_LENGTH: 6
|
||||
GENERATED_ALBUM_LENGTH: 4
|
||||
PUBLIC_MODE: "false"
|
||||
USER_ACCOUNTS: "true"
|
||||
ADMIN_ACCOUNT: ""
|
||||
ADMIN_PASSWORD: ""
|
||||
DB_CLIENT: "sqlite3"
|
||||
DB_HOST: ""
|
||||
DB_USER: ""
|
||||
DB_PASSWORD: ""
|
||||
DB_DATABASE: ""
|
|
@ -0,0 +1,2 @@
|
|||
#ignore secrets files
|
||||
secrets.json
|
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
version: "3.8"
|
||||
|
||||
secrets:
|
||||
config_json:
|
||||
file: secrets.json
|
||||
|
||||
volumes:
|
||||
data:
|
||||
|
||||
|
||||
services:
|
||||
foundry:
|
||||
image: felddy/foundryvtt:release
|
||||
hostname: foundry.apheliongaming.com
|
||||
init: true
|
||||
volumes:
|
||||
- type: volume
|
||||
source: /data/foundryvtt
|
||||
target: /data
|
||||
environment:
|
||||
ports:
|
||||
- target: 30000
|
||||
published: 30000
|
||||
protocol: tcp
|
||||
secrets:
|
||||
- source: config_json
|
||||
target: config.json
|
Loading…
Reference in New Issue