WIP plume

This commit is contained in:
Quentin 2020-10-15 21:20:11 +02:00
parent 25ec221248
commit 4af75bd8b8
4 changed files with 52 additions and 1 deletions

View file

@ -61,3 +61,10 @@ services:
args: args:
VERSION: fake-1 VERSION: fake-1
image: superboum/amd64_jitsi_xmpp:v4 image: superboum/amd64_jitsi_xmpp:v4
plume:
build:
context: ./plume
args:
VERSION: 003dcf861a9f55720b03d52f2f95f5f59e338809
image: superboum/plume:v1

View file

@ -1,5 +1,9 @@
#!/bin/bash #!/bin/bash
diesel migration run until plm migration run;
do sleep 2;
done
plm search init plm search init
plm instance new --domain "$DOMAIN_NAME" --name "$INSTANCE_NAME" --private
plume plume

View file

@ -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

View file

@ -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"