This commit is contained in:
2026-03-15 21:14:52 -03:00
parent d5af338ee1
commit 9bf76f602c
5 changed files with 17 additions and 22 deletions
+12
View File
@@ -13,8 +13,20 @@ JWT_EXPIRY_SECS=3600
JWT_REFRESH_EXPIRY_SECS=2592000 JWT_REFRESH_EXPIRY_SECS=2592000
GOOGLE_CLIENT_ID= GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_ID_APPLE=
GOOGLE_CLIENT_SECRET= GOOGLE_CLIENT_SECRET=
HOST=0.0.0.0 HOST=0.0.0.0
PORT=8080 PORT=8080
APP_ENV=development APP_ENV=development
# --- Email (SMTP) ---
SMTP_HOST=
SMTP_PORT=
SMTP_USER=
SMTP_PASS=
EMAIL_FROM=
# --- URLs ---
APP_BASE_URL=http://localhost:8080/api/v1
APP_SCHEME=meowspool
+1
View File
@@ -1 +1,2 @@
mobile/.env.production mobile/.env.production
db_data
-18
View File
@@ -1,18 +0,0 @@
# Banco de dados
DATABASE_URL=postgresql://meowspool:meowspool@localhost:5432/meowspool
# JWT
JWT_SECRET=troque_por_um_secret_forte_em_producao_minimo_32_chars
JWT_EXPIRY_SECS=3600
JWT_REFRESH_EXPIRY_SECS=2592000
# OAuth Google
GOOGLE_CLIENT_ID=seu_google_client_id.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=seu_google_client_secret
# Servidor
HOST=0.0.0.0
PORT=8080
# Ambiente (development | production)
APP_ENV=development
+2
View File
@@ -0,0 +1,2 @@
[tools]
rust = "1.88"
+2 -4
View File
@@ -8,11 +8,11 @@ services:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB} POSTGRES_DB: ${POSTGRES_DB}
volumes: volumes:
- postgres_data:/var/lib/postgresql/data - ./db_data:/var/lib/postgresql/data
ports: ports:
- "${POSTGRES_PORT:-5432}:5432" - "${POSTGRES_PORT:-5432}:5432"
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER}"] test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
interval: 5s interval: 5s
timeout: 5s timeout: 5s
retries: 5 retries: 5
@@ -31,5 +31,3 @@ services:
db: db:
condition: service_healthy condition: service_healthy
volumes:
postgres_data: