Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 853 Bytes

File metadata and controls

58 lines (43 loc) · 853 Bytes

Lost in Kenya

Step 1

Create an environment file with the following fields:

POSTGRES_DB=host
POSTGRES_USER=username
POSTGRES_PASSWORD=password
POSTGRES_PORT=5432
VOLUME_NAME=volume_name
APPLICATION_NETWORK=docker_network
APP_PORT

step 2

create an external docker volume to store db data persistently

docker volume create lostinkenya_postgres_data

OR

docker volume create lostinkenya_postgres_data_staging

step 3

run the docker container to bring up the database and flask app

docker-compose up --build -d --no-cache

OR

docker-compose -f docker-compose-staging.yaml up --build -d --no-cache

step 4

type the following on your browser url bar to access the UI

localhost:5000

OR

https://lostinkenya.org

OR

https://staging.lostinkenya.org