Skip to content

Launch Event Buddy v1

docker-compose.yml

The initial version of Event Buddy is built as a single service powering the whole domain.

The docker-compose.yml for this version is in the server/v1 folder:

yaml
name: event-buddy

services:
  event-buddy:
    image: pointw/event-buddy
    container_name: event-buddy
    ports:
      - "2112:80"
    environment:
      AUTH_ADD_BASIC: true
      HY_INSTANCE_NAME: event-buddy demo
      HY_MONGO_HOST: event-buddy-mongo
      HY_API_PORT: 80
    depends_on:
      - event-buddy-mongo

  event-buddy-mongo:
    image: mongo
    container_name: event-buddy-mongo
    ports:
      - "27017:27017"

Launch and populate

To launch the services, change into the server/v1/ folder then enter the following command:

bash
docker compose up -d

The Event Buddy service is now listening for requests at http://localhost:2112.

Now populate the service with some initial data:

bash
../reset.py
# Windows:  python ..\reset.py

Note

You can run the reset.py script at any time to reset the data to this initial state.

This populates the service with the following data:

VenuesEventsRegistrationsAccounts
Developer Meeting RoomDaily Standup phartman
tgraves
jkelly
fwinters
Pat Hartman (member)
Terry Graves (member)
Jamie Kelly (member)
Felicia Winters (member)
Courtney Lopez (member)
Samantha Heath (member)
Gail Johnson (member)
Denise Thibideau (member)
Mel Anderson (manager)
Harper Reagan (HR)
Requirements Review
Customer Meeting Room 1
Customer Meeting Room 2
Main BoardroomAll Hands

Released under the MIT License.

Released under the MIT License.