platform-coop-toolkit / coop-map-directory-index

The Map/Directory/Index component of the Platform Cooperative Development Kit.
https://directory.platform.coop
BSD 3-Clause "New" or "Revised" License
1 stars 3 forks source link

feat: add docker-compose #56

Closed gtirloni closed 4 years ago

gtirloni commented 4 years ago

Description

Add docker-compose.yml

Steps to test

  1. Ensure .env file has proper credentials
  2. POSTGRES_USER=cmdi POSTGRES_PASSWORD=cmdi POSTGRES_DB=cmdi POSTGRES_DATADIR=/path/to/data/dir POSTGRES_PORT=5432 APP_PORT=8000 docker-compose up
  3. Access http://localhost:8000

Expected behavior:

Website loads correctly.

gtirloni commented 4 years ago

Depends on https://github.com/platform-coop-toolkit/coop-map-directory-index/pull/55