services: app: build: context: . dockerfile: Dockerfile image: test-app:latest container_name: test-app environment: - DATABASE_URL=postgresql://admin:arfg486352wp@postgres-db:5432/testdb - JWT_SECRET=3yai*U*Wr%kWQXXpF8xNtQQFyafm1e5PZVhWiD1j*CvPpA@2LzFgTs - PORT=5003 ports: - "5003:5003" depends_on: - db volumes: - .:/app - /app/node_modules db: image: postgres:18 container_name: postgres-db environment: POSTGRES_USER: admin POSTGRES_PASSWORD: arfg486352wp POSTGRES_DB: testdb ports: - "5432:5432" volumes: - postgres-data:/var/lib/postgresql volumes: postgres-data: