retropilot-server/environment/uat
Cameron Clough 8abdefd403
remove athena
2022-04-20 18:46:39 +01:00
..
traefik add 'development' environment and improve documentation 2022-04-14 15:51:13 +01:00
.env.sample remove athena 2022-04-20 18:46:39 +01:00
README.md add 'development' environment and improve documentation 2022-04-14 15:51:13 +01:00
docker-compose.yml remove athena 2022-04-20 18:46:39 +01:00

README.md

User Acceptance Testing (UAT) environnment

Hostname: uat.api.retropilot.org

Usage

Environment

Copy .env.sample to .env and edit as needed.

cp .env.sample .env

Deployment

Note that the first time you run the PostgreSQL container it will have to initialise. The server and worker cannot interact with it before this happens.

Before first run:

cd environment/uat

# Create the database
docker-compose up db
# CTRL-C when "database system is ready to accept connections" message appears

# Allow the API program to initialise the database schema
docker-compose up db api
# CTRL-C when "RetroPilot Server listening at" message appears

To start all the services:

cd environment/uat
docker-compose up -d