boop
This commit is contained in:
@@ -219,7 +219,7 @@ docker build -t stick-app .
|
|||||||
Run the container on your target Docker network, providing the connection details to your pre-existing MongoDB database container through environment variables:
|
Run the container on your target Docker network, providing the connection details to your pre-existing MongoDB database container through environment variables:
|
||||||
```bash
|
```bash
|
||||||
docker run -d \
|
docker run -d \
|
||||||
--name stick-app-container \
|
--name stick-app \
|
||||||
--network your-docker-network \
|
--network your-docker-network \
|
||||||
-p 80:3007 \
|
-p 80:3007 \
|
||||||
-e DATABASE_URL="mongodb://your-mongodb-host:27017" \
|
-e DATABASE_URL="mongodb://your-mongodb-host:27017" \
|
||||||
|
|||||||
Reference in New Issue
Block a user