mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 10:35:51 +00:00
25 lines
889 B
YAML
25 lines
889 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_server_simplified
|
|
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, prioritizing the one in the server directory
|
|
- ./server/.env # Primary location
|
|
- ./.env # Fallback location (if server/.env is missing)
|
|
# Optional: Define networks if needed, otherwise uses default bridge network
|
|
# networks:
|
|
# - pulse_network
|
|
|
|
# Optional: Define a network
|
|
# networks:
|
|
# pulse_network:
|
|
# driver: bridge |