refactor: Update Docker Compose and README to use Docker Hub image

This commit is contained in:
courtmanr@gmail.com
2025-04-20 19:26:51 +01:00
parent 14bf3b18d9
commit 2a5a9b14a5
2 changed files with 8 additions and 6 deletions
+3 -3
View File
@@ -131,11 +131,11 @@ Using Docker Compose is the recommended way to run the application in a containe
1. **Configure Environment:** Ensure you have created and configured your `server/.env` file as described in the [Environment Variables](#environment-variables) section above.
2. **Build and Run:** Navigate to the project root directory in your terminal and run:
2. **Run:** Navigate to the project root directory in your terminal and run:
```bash
docker compose up --build -d
docker compose up -d
```
- `--build`: Builds the Docker image based on the `Dockerfile` if it doesn't exist or if the `Dockerfile` has changed.
- This command will download the pre-built `rcourtman/pulse:latest` image from Docker Hub (if not already present) and start the container.
- `-d`: Runs the container in detached mode (in the background).
3. **Access:** The application should now be running. Access it via `http://<your-host-ip>:7655` (or the host port you mapped in `docker-compose.yml`).
+5 -3
View File
@@ -2,9 +2,11 @@ version: '3.8'
services:
pulse-server:
build:
context: .
dockerfile: Dockerfile
# 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: