An app that allows users to add client data.
328
The image expects a MONGO_URI environment variable to connect to a MongoDB database. Create a .env file that includes a MONGO_URI variable set equal to your Mongo connection string.
Create a docker-compose.yml file in the root of your project and include the client-address-next image and mongo as services. You can use the following example:
version: '3.8'
services:
api:
image: scottiecrump/client-address-next
environment:
- MONGO_URI=${MONGO_URI}
depends_on:
- mongo
ports:
- 3000:3000
mongo:
image: mongo
ports:
- 27017:27017
volumes:
- mongo-data:/data/db
- mongo-config:/data/configdb
volumes:
mongo-data:
driver: local
mongo-config:
driver: local
Use docker-compose up -d and docker-compose down to stop the container via the terminal.
Content type
Image
Digest
Size
177.7 MB
Last updated
almost 5 years ago
docker pull scottiecrump/client-address-next