From 4af75bd8b829178d35812dcdcde0b316c67d7697 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Thu, 15 Oct 2020 21:20:11 +0200 Subject: WIP plume --- app/integration/plume/docker-compose.yml | 15 +++++++++++++++ app/integration/plume/plume.env | 25 +++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 app/integration/plume/docker-compose.yml create mode 100644 app/integration/plume/plume.env (limited to 'app/integration/plume') diff --git a/app/integration/plume/docker-compose.yml b/app/integration/plume/docker-compose.yml new file mode 100644 index 0000000..2ec8371 --- /dev/null +++ b/app/integration/plume/docker-compose.yml @@ -0,0 +1,15 @@ +version: '3.4' +services: + plume: + image: superboum/plume:v1 + env_file: + - plume.env + ports: + - "7878:7878" + + postgres: + image: postgres:9.6.19 + environment: + - POSTGRES_DB=plume + - POSTGRES_USER=plume + - POSTGRES_PASSWORD=plume diff --git a/app/integration/plume/plume.env b/app/integration/plume/plume.env new file mode 100644 index 0000000..0db538f --- /dev/null +++ b/app/integration/plume/plume.env @@ -0,0 +1,25 @@ +BASE_URL=integration.env +# generate one with openssl rand -base64 32 +ROCKET_SECRET_KEY=cXZbKoxWIBo0wdaD8tbA1B3BlH2LBSUmgzdyZZr8QxI= + +# Mail settings +#MAIL_SERVER=smtp.example.org +#MAIL_USER=example +#MAIL_PASSWORD=123456 +#MAIL_HELO_NAME=example.org + +# DATABASE SETUP +POSTGRES_PASSWORD=plume +POSTGRES_USER=plume +POSTGRES_DB=plume +DATABASE_URL=postgres://plume:plume@postgres:5432/plume +MIGRATION_DIRECTORY=migrations/postgres + +USE_HTTPS=0 +ROCKET_ADDRESS=0.0.0.0 +ROCKET_PORT=7878 + +MEDIA_UPLOAD_DIRECTORY=/app/static/media +SEARCH_INDEX=/app/search_index +DOMAIN_NAME="integration.env" +INSTANCE_NAME="Integration Instance" -- cgit v1.2.3