diff --git a/blueprints/commento/docker-compose.yml b/blueprints/commento/docker-compose.yml new file mode 100644 index 0000000..ebac838 --- /dev/null +++ b/blueprints/commento/docker-compose.yml @@ -0,0 +1,22 @@ +version: "3" + +services: + commento: + image: registry.gitlab.com/commento/commento:v1.8.0 + ports: + - "8080" + environment: + - COMMENTO_ORIGIN=${COMMENTO_ORIGIN} + - COMMENTO_POSTGRES=${COMMENTO_POSTGRES} + depends_on: + - postgres + + postgres: + image: postgres:11 + environment: + - POSTGRES_PASSWORD=${POSTGRES_PASSWORD} + volumes: + - postgres-data:/var/lib/postgresql/data + +volumes: + postgres-data: \ No newline at end of file diff --git a/blueprints/commento/logo.png b/blueprints/commento/logo.png new file mode 100644 index 0000000..67f1c08 Binary files /dev/null and b/blueprints/commento/logo.png differ diff --git a/blueprints/commento/template.toml b/blueprints/commento/template.toml new file mode 100644 index 0000000..3c33845 --- /dev/null +++ b/blueprints/commento/template.toml @@ -0,0 +1,14 @@ +[variables] +DOMAIN = "${domain}" +POSTGRES_PASSWORD = "${password:16}" + +[config] +[[config.domains]] +serviceName = "commento" +port = 8080 +host = "${DOMAIN}" + +[config.env] +COMMENTO_ORIGIN = "http://${DOMAIN}" +COMMENTO_POSTGRES = "postgres://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres?sslmode=disable" +POSTGRES_PASSWORD = "${POSTGRES_PASSWORD}" \ No newline at end of file