Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Git
.git
.gitignore
README.md

# Logs
log/*
tmp/*
*.log

# Runtime data
*.pid
*.seed
*.pid.lock

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# node_modules
node_modules

# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Editor directories and files
.vscode
.idea

# Docker
Dockerfile
docker-compose*.yml
.dockerignore

# Rails specific
public/assets
public/packs
public/packs-test
storage/*
.byebug_history

# Bundle config
.bundle

# Environment variables
.env
.env.local
.env.*.local

# Rails cache
tmp/cache
31 changes: 31 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Configurações do Banco de Dados PostgreSQL
POSTGRES_DB=northwind
POSTGRES_USER=admin_panel_user
POSTGRES_PASSWORD=admin_panel_password
POSTGRES_HOST=postgres
POSTGRES_PORT=5432

# URL completa do banco (alternativa)
DATABASE_URL=postgresql://admin_panel_user:admin_panel_password@postgres:5432/northwind

# Configurações do Rails
RAILS_ENV=development
RAILS_SERVE_STATIC_FILES=true
RAILS_LOG_TO_STDOUT=true

# Configurações do pgAdmin
PGADMIN_DEFAULT_EMAIL=admin@admin.com
PGADMIN_DEFAULT_PASSWORD=admin_panel_password

# Portas do host (para mapeamento Docker)
RAILS_PORT=3030
POSTGRES_EXTERNAL_PORT=3031
PGADMIN_EXTERNAL_PORT=3032

# Configurações do Forest Admin
FOREST_ENV_SECRET=development_secret_key_change_in_production
FOREST_AUTH_SECRET=development_auth_key_change_in_production
DATABASE_REJECT_UNAUTHORIZED=false

# Chave secreta do Rails
SECRET_KEY_BASE=development_secret_key_base_at_least_30_characters_long_for_security
Loading