Sign inSign up

bmcgonag/bastas

By bmcgonag

Updated almost 6 years ago

Be A Santa To A Senior gift tracking project.

Image
0

1.5K

bmcgonag/bastas repository overview

B.A.S.T.A.S. Be A Santa To A Senior

Built in conjunction with the Lubbock office of Stay At Home Senior Care owners Terry and Tracy Baugh, this project is a web based application that allows for the import of a CSV file, or manual input of, Gift recipients and their desired gifts.

The Project allows the runner to track gifts and recipients, from request through delivery if so desired.

To Run, a MongoDB is required.

I suggest running it with Docker Compose and using the docker-compose.yml file detailed below.

version: '3.0'

services:
  bastas:
    container_name: bastas
    image: bmcgonag/bastas:latest
    restart: always
    ports:
      - "3000:3000"
    links:
      - mongo
  mongo:
    container_name: bastas_mongo
    image: mongo
    volumes:
      - ./data:/data/db
    ports:
      - "27017:27017"

If needed Environmental Variables can be set to use the Dockerfile alone with an external MongoDB.

MONGO_URL sets the Mongo DB URL where the db can be reached.

ROOT_URL sets the root url for the application.

PORT sets the port the application should be running on.

Additionally, if PORT is changes, you should update the port mappting for the application to match on the container side with the flag:

-p <host side port>:<container side port>

Tag summary

Content type

Image

Digest

Size

183.2 MB

Last updated

almost 6 years ago

docker pull bmcgonag/bastas