version: "3.8" # ───────────────────────────────────────────── # InkNote — Deploy on Docker VM # Pull images from Gitea container registry # # Usage: # docker login gitea.honeyy.duckdns.org # docker-compose pull # docker-compose up -d # ───────────────────────────────────────────── services: inknote-server: image: gitea.honeyy.duckdns.org/marc/inknote-server:latest # ← Change 'marc' to your Gitea username container_name: inknote-server restart: unless-stopped environment: - PORT=4000 - JWT_SECRET=${JWT_SECRET} - ENCRYPTION_KEY=${ENCRYPTION_KEY} - NODE_ENV=production volumes: - inknote-data:/app/data - inknote-uploads:/app/uploads healthcheck: test: ["CMD", "wget", "-qO-", "http://localhost:4000/api/health"] interval: 30s timeout: 5s retries: 3 inknote-web: image: gitea.honeyy.duckdns.org/marc/inknote-web:latest # ← Change 'marc' to your Gitea username container_name: inknote-web restart: unless-stopped ports: - "3000:80" depends_on: inknote-server: condition: service_healthy volumes: inknote-data: inknote-uploads: