fix: add go.sum and fixes
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user