Skip to content

polyneme/ads-query-eval

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo up at https://ads-query-eval.polyneme.xyz.

Local Development

cp .env.example .env # and modify .env as appropriate
source .env
docker volume create --name=${COMPOSE_PROJECT_NAME}_terminus_data
docker volume create --name=${COMPOSE_PROJECT_NAME}_dagster_postgres_data
docker-compose up -d
# Confirm resource readiness
docker-compose logs -f

Gotchas:

  • If you change TERMINUSDB_ADMIN_PASS, you need to remove and recreate the terminus_data volume.

To get an interactive shell:

docker-compose exec repl bash
ipython

Production

# Optional: cp .env.example .env # and modify .env as appropriate
source .env
docker volume create --name=${COMPOSE_PROJECT_NAME}_terminus_data
docker volume create --name=${COMPOSE_PROJECT_NAME}_dagster_postgres_data
docker volume create --name=${COMPOSE_PROJECT_NAME}_nginx_conf
docker volume create --name=${COMPOSE_PROJECT_NAME}_letsencrypt_certs
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d --build --force-recreate
# Confirm resource readiness and certificate installation
docker-compose -f docker-compose.yml -f docker-compose.prod.yml logs -f

See https://github.com/polyneme/letsencrypt-docker-compose for customization.