# Production stack for Dockge — pulls a pre-built image from the Gitea registry. # (Build + push the image first; see DEPLOY.md.) services: flashcard: image: 10.0.10.205:3000/bert.hausmans/flashcards:latest container_name: flashcard # host:container — host 4000 was taken by another stack, so expose on 4100. ports: - 4100:4000 environment: - NODE_ENV=production - PORT=4000 - DB_PATH=/app/data/flashcard.db # URL where users reach the app. Used in verification / reset / invite emails. # CHANGE THIS to your real address, e.g. http://10.0.10.205:4100 - APP_URL=http://CHANGE-ME:4100 # Keep "false" over plain HTTP (otherwise the browser drops the login # cookie). Set "true" only once behind an HTTPS reverse proxy. - COOKIE_SECURE=false # SMTP (Amazon SES). Leave SMTP_HOST empty to fall back to a stub mailer # that prints verification/reset links to the container logs (handy for the # first sysadmin signup before SES is wired up). - SMTP_HOST= - SMTP_PORT=587 - SMTP_SECURE=false - SMTP_USER= - SMTP_PASS= - SMTP_FROM=Flashcard volumes: - flashcard-data:/app/data restart: unless-stopped volumes: flashcard-data: driver: local networks: {}