mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-23 19:57:09 +00:00
refactor: Update Docker Compose and README to use Docker Hub image
This commit is contained in:
@@ -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
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user