Files
gaufrementbon/docker-compose.server.yml
T
2026-07-08 13:28:51 +02:00

34 lines
1.0 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Déploiement serveur : app seule ; HTTPS géré par Nginx + Certbot sur lhôte.
# Exemple Nginx : proxy_pass http://127.0.0.1:3007;
#
# Usage :
# export AUTH_SECRET="$(openssl rand -base64 32)"
# docker compose -f docker-compose.server.yml up -d
name: gauffre-server
services:
app:
image: foufure/gauffre:latest
build: .
ports:
- "${HOST_PORT:-3007}:3000"
environment:
DATABASE_URL: file:/app/data/app.db
AUTH_SECRET: ${AUTH_SECRET:-change-me-in-production-use-long-random-string}
ADMIN_EMAIL: ${ADMIN_EMAIL:-admin@lagaufredor.local}
ADMIN_PASSWORD: ${ADMIN_PASSWORD:-changeme123}
NODE_ENV: production
UPSTASH_REDIS_REST_URL: ${UPSTASH_REDIS_REST_URL:-}
UPSTASH_REDIS_REST_TOKEN: ${UPSTASH_REDIS_REST_TOKEN:-}
GOOGLE_PLACES_API_KEY: ${GOOGLE_PLACES_API_KEY:-}
GOOGLE_PLACE_ID: ${GOOGLE_PLACE_ID:-}
volumes:
- gauffre-data:/app/data
- gauffre-uploads:/app/public/uploads
restart: unless-stopped
volumes:
gauffre-data:
gauffre-uploads: