fix: add go.sum and fixes

This commit is contained in:
2026-02-06 14:26:15 -03:00
parent cf2b4f7b91
commit d6b08cb586
36 changed files with 3613 additions and 423 deletions

View File

@@ -1,35 +1,24 @@
version: '3.8'
services:
ophion-server:
ophion:
build:
context: ../..
dockerfile: deploy/docker/Dockerfile.server
dockerfile: deploy/docker/Dockerfile
ports:
- "8080:8080"
- "8090:8080"
- "3001:3000"
environment:
- DATABASE_URL=postgres://ophion:ophion@postgres:5432/ophion
- CLICKHOUSE_URL=clickhouse://clickhouse:9000/ophion
- REDIS_URL=redis://redis:6379
- DATABASE_URL=${DATABASE_URL:-postgres://ophion:ophion@postgres:5432/ophion}
- CLICKHOUSE_URL=${CLICKHOUSE_URL:-clickhouse://clickhouse:9000/ophion}
- REDIS_URL=${REDIS_URL:-redis://redis:6379}
- JWT_SECRET=${JWT_SECRET:-change-me-in-production}
- ADMIN_EMAIL=${ADMIN_EMAIL:-admin@ophion.com.br}
- ADMIN_PASSWORD=${ADMIN_PASSWORD:-ophion123}
depends_on:
- postgres
- clickhouse
- redis
restart: unless-stopped
ophion-web:
build:
context: ../..
dockerfile: deploy/docker/Dockerfile.web
ports:
- "3000:3000"
environment:
- API_URL=http://ophion-server:8080
depends_on:
- ophion-server
restart: unless-stopped
postgres:
image: postgres:16-alpine
environment: