chore: update port to 54321
This commit is contained in:
@@ -45,6 +45,8 @@ docker compose up -d
|
|||||||
docker compose down
|
docker compose down
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The application will be available at `http://localhost:54321`
|
||||||
|
|
||||||
#### Using Docker Directly
|
#### Using Docker Directly
|
||||||
|
|
||||||
1. Build the Docker image:
|
1. Build the Docker image:
|
||||||
@@ -57,14 +59,14 @@ docker build -t pet-picture-queue .
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -d \
|
docker run -d \
|
||||||
-p 5000:5000 \
|
-p 54321:5000 \
|
||||||
-v $(pwd)/static/uploads:/app/static/uploads \
|
-v $(pwd)/static/uploads:/app/static/uploads \
|
||||||
-v $(pwd)/pet_pictures.db:/app/pet_pictures.db \
|
-v $(pwd)/pet_pictures.db:/app/pet_pictures.db \
|
||||||
--name pet-picture-queue \
|
--name pet-picture-queue \
|
||||||
pet-picture-queue
|
pet-picture-queue
|
||||||
```
|
```
|
||||||
|
|
||||||
The application will be available at `http://localhost:5000`
|
The application will be available at `http://localhost:54321`
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ services:
|
|||||||
web:
|
web:
|
||||||
build: .
|
build: .
|
||||||
ports:
|
ports:
|
||||||
- "5000:5000"
|
- "54321:5000"
|
||||||
volumes:
|
volumes:
|
||||||
- ./static/uploads:/app/static/uploads
|
- ./static/uploads:/app/static/uploads
|
||||||
- ./pet_pictures.db:/app/pet_pictures.db
|
- ./pet_pictures.db:/app/pet_pictures.db
|
||||||
|
|||||||
Reference in New Issue
Block a user