mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-11 22:12:23 +00:00
ba3230cdfc
Consolidate server dependencies into root package.json. Refactor Dockerfile to use multi-stage build, build CSS, run as non-root user, and install production dependencies only. Update .gitignore and docker-compose.yml build context.
24 lines
803 B
YAML
24 lines
803 B
YAML
services:
|
|
pulse-server:
|
|
# Build context commented out - using pre-built image from Docker Hub
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
# image: rcourtman/pulse:latest # Use the pre-built image from Docker Hub
|
|
container_name: pulse
|
|
restart: unless-stopped
|
|
ports:
|
|
# Map container port 7655 to host port 7655
|
|
# You can change the host port (left side) if 7655 is already in use on your host
|
|
- "7655:7655"
|
|
env_file:
|
|
# Load environment variables from a .env file in the same directory as this compose file
|
|
- .env # Standard location
|
|
# Optional: Define networks if needed, otherwise uses default bridge network
|
|
# networks:
|
|
# - pulse_network
|
|
|
|
# Optional: Define a network
|
|
# networks:
|
|
# pulse_network:
|
|
# driver: bridge |