1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-01-30 13:58:08 +00:00

create hoarder

This commit is contained in:
Nebel 2024-07-03 21:48:25 +09:00
parent 0fa1ac35b5
commit fa2e298e62
Signed by: nebel
GPG key ID: 79807D08C6EF6460
2 changed files with 62 additions and 0 deletions

3
hoarder/.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
data
meilisearch
redis

59
hoarder/compose.yml Normal file
View file

@ -0,0 +1,59 @@
# https://raw.githubusercontent.com/hoarder-app/hoarder/main/docker/docker-compose.yml
services:
web:
image: ghcr.io/hoarder-app/hoarder-web:0.14.0
restart: unless-stopped
volumes:
- ./data:/data
ports:
- 3000:3000
env_file:
- .env
environment:
REDIS_HOST: redis
MEILI_ADDR: http://meilisearch:7700
DATA_DIR: /data
redis:
image: redis:7.2-alpine
restart: unless-stopped
volumes:
- ./redis:/data
chrome:
image: gcr.io/zenika-hub/alpine-chrome:123
restart: unless-stopped
command:
- --no-sandbox
- --disable-gpu
- --disable-dev-shm-usage
- --remote-debugging-address=0.0.0.0
- --remote-debugging-port=9222
- --hide-scrollbars
meilisearch:
image: getmeili/meilisearch:v1.6
restart: unless-stopped
env_file:
- .env
environment:
MEILI_NO_ANALYTICS: "true"
volumes:
- ./meilisearch:/meili_data
workers:
image: ghcr.io/hoarder-app/hoarder-workers:0.14.0
restart: unless-stopped
volumes:
- ./data:/data
env_file:
- .env
environment:
REDIS_HOST: redis
MEILI_ADDR: http://meilisearch:7700
BROWSER_WEB_URL: http://chrome:9222
DATA_DIR: /data
depends_on:
web:
condition: service_started
#
# .env
# NEXTAUTH_SECRET=$(openssl rand -base64 36)
# MEILI_MASTER_KEY=$(openssl rand -base64 36)
# NEXTAUTH_URL=http://localhost:3000