Files
norish/docker-compose.yml
2026-09-04 16:24:10 +02:00

43 lines
1.1 KiB
YAML

services:
norish:
image: norishapp/norish:latest
container_name: norish-app
restart: always
ports:
- "23000:3000"
user: "1000:1000"
volumes:
- /var/lib/docker/volumes/norish/data:/app/uploads
environment:
AUTH_URL: http://recettes.maison # http://localhost:3000
DATABASE_URL: postgres://postgres:norish@db:5432/norish
MASTER_KEY: 3NA734BBUitXp4DGvhq/3pUQL5Ai11DODLP6TW/TSo4=
OBSCURA_ENDPOINT: ws://obscura:9222
REDIS_URL: redis://redis:6379
depends_on:
- db
- redis
db:
image: postgres:17-alpine
container_name: norish-db
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: norish
POSTGRES_DB: norish
volumes:
- /var/lib/docker/volumes/norish/db_data:/var/lib/postgresql/data
obscura:
image: norishapp/obscura:0.2.0-norish.1
container_name: obscura
restart: unless-stopped
redis:
image: redis:8.4.0
container_name: norish-redis
restart: unless-stopped
volumes:
- /var/lib/docker/volumes/norish/redis_data:/data