- Increased all sidebar navigation icons from text-sm to text-xl for better visibility - Moved user information and logout button from header to sidebar footer - Added user avatar with name and email in expanded sidebar state - Collapsed sidebar shows avatar icon and logout icon button stacked vertically - Simplified header by removing user badge and logout button - Added version info (v1.0.0) in sidebar footer - Improved responsive design for both collapsed and expanded states
53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres:15-alpine
|
|
container_name: aduanasoft-postgres
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: Control.
|
|
POSTGRES_DB: CONTROLDESK
|
|
PGDATA: /var/lib/postgresql/data/pgdata
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
- ./database/schema.sql:/docker-entrypoint-initdb.d/01-schema.sql
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
networks:
|
|
- aduanasoft-network
|
|
|
|
# Tu aplicación Node.js (opcional, comentado por ahora)
|
|
# app:
|
|
# build: .
|
|
# container_name: aduanasoft-app
|
|
# restart: unless-stopped
|
|
# ports:
|
|
# - "3000:3000"
|
|
# environment:
|
|
# - NODE_ENV=production
|
|
# - DB_POSTGRES_HOST=postgres
|
|
# - DB_POSTGRES_PORT=5432
|
|
# - DB_POSTGRES_USER=postgres
|
|
# - DB_POSTGRES_PASS=Control.
|
|
# - DB_POSTGRES_DB=CONTROLDESK
|
|
# depends_on:
|
|
# postgres:
|
|
# condition: service_healthy
|
|
# networks:
|
|
# - aduanasoft-network
|
|
|
|
volumes:
|
|
postgres_data:
|
|
driver: local
|
|
|
|
networks:
|
|
aduanasoft-network:
|
|
driver: bridge
|