diff --git a/env b/env new file mode 100644 index 00000000..c54c7dd9 --- /dev/null +++ b/env @@ -0,0 +1,57 @@ +# PostgreSQL Configuration +POSTGRES_DB=lago +POSTGRES_USER=lago +POSTGRES_PASSWORD=changeme +POSTGRES_PORT=5432 +POSTGRES_HOST=db +POSTGRES_SCHEMA=public +PGDATA=/data/postgres + +# Redis Configuration +REDIS_PORT=6379 +REDIS_HOST=redis +REDIS_PASSWORD= + +# Lago API Configuration +LAGO_API_URL=http://localhost:3000 +DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}?search_path=${POSTGRES_SCHEMA} +REDIS_URL=redis://${REDIS_HOST}:${REDIS_PORT} +SECRET_KEY_BASE=your-secret-key-base-hex-64 +RAILS_ENV=production +LAGO_RAILS_STDOUT=true +SENTRY_DSN= +LAGO_FRONT_URL=http://localhost +RSA_PRIVATE_KEY= +LAGO_RSA_PRIVATE_KEY= +LAGO_SIDEKIQ_WEB= +LAGO_ENCRYPTION_PRIMARY_KEY=your-encryption-primary-key +LAGO_ENCRYPTION_DETERMINISTIC_KEY=your-encryption-deterministic-key +LAGO_ENCRYPTION_KEY_DERIVATION_SALT=your-encryption-derivation-salt +LAGO_USE_AWS_S3=false +LAGO_AWS_S3_ACCESS_KEY_ID=azerty123456 +LAGO_AWS_S3_SECRET_ACCESS_KEY=azerty123456 +LAGO_AWS_S3_REGION=us-east-1 +LAGO_AWS_S3_BUCKET=bucket +LAGO_AWS_S3_ENDPOINT= +LAGO_USE_GCS=false +LAGO_GCS_PROJECT= +LAGO_GCS_BUCKET= +LAGO_PDF_URL=http://pdf:3000 +LAGO_REDIS_CACHE_HOST=redis +LAGO_REDIS_CACHE_PORT=6379 +LAGO_REDIS_CACHE_PASSWORD= +LAGO_REDIS_CACHE_URL=redis://${LAGO_REDIS_CACHE_HOST}:${LAGO_REDIS_CACHE_PORT} +LAGO_DISABLE_SEGMENT= +LAGO_DISABLE_WALLET_REFRESH= +LAGO_OAUTH_PROXY_URL=https://proxy.getlago.com +LAGO_LICENSE= +GOOGLE_AUTH_CLIENT_ID= +GOOGLE_AUTH_CLIENT_SECRET= +NANGO_SECRET_KEY= +SIDEKIQ_EVENTS= +SIDEKIQ_PDFS= +API_PORT=3000 +FRONT_PORT=80 +APP_ENV=production +LAGO_DISABLE_SIGNUP=false +SENTRY_DSN_FRONT=