Add compose e dockerfile

This commit is contained in:
LeoMortari
2025-11-03 11:59:34 -03:00
parent 0f2c051eb9
commit b455acea46
6 changed files with 71 additions and 27 deletions

View File

@@ -1,18 +1,20 @@
services:
clipperia-api:
api:
build:
context: .
dockerfile: Dockerfile
no_cache: true
ports:
- '3050:3000'
- '1010:3000'
container_name: clipperia-api
environment:
NODE_ENV: development
NODE_ENV: production
KEYCLOAK_URL: http://keycloak:8080
DATABASE_URL: postgresql://leolitas:L@l321321321@postgres:5432/clipperia?schema=public
networks:
- dokploy-network
YOUTUBE_API_URL: https://totally-real-dingo.ngrok-free.app
# networks:
# - dokploy-network
networks:
dokploy-network:
external: true
# networks:
# dokploy-network:
# external: true