diff --git a/blueprints/heyform/docker-compose.yml b/blueprints/heyform/docker-compose.yml index ec7e02fc..3374befc 100644 --- a/blueprints/heyform/docker-compose.yml +++ b/blueprints/heyform/docker-compose.yml @@ -1,48 +1,45 @@ services: heyform: - image: heyform/community-edition:latest + image: heyform/community-edition:v0.1.0 restart: always volumes: # Persist uploaded images - heyform-data:/app/static/upload depends_on: - mongo - - redis + - keydb ports: - 8000 env_file: - .env environment: MONGO_URI: 'mongodb://mongo:27017/heyform' - REDIS_HOST: redis + REDIS_HOST: keydb REDIS_PORT: 6379 - networks: - - heyform-network + SMTP_FROM: ${SMTP_FROM} + SMTP_HOST: ${SMTP_HOST} + SMTP_PORT: ${SMTP_PORT} + SMTP_USER: ${SMTP_USER} + SMTP_SECURE: ${SMTP_SECURE} + SMTP_IGNORE_CERT: ${SMTP_IGNORE_CERT} + SMTP_PASSWORD: ${SMTP_PASSWORD} mongo: image: percona/percona-server-mongodb:4.4 restart: always - networks: - - heyform-network volumes: # Persist MongoDB data - mongo-data:/data/db - redis: - image: redis + keydb: + image: eqalpha/keydb:alpine restart: always - command: "redis-server --appendonly yes" - networks: - - heyform-network + command: keydb-server --appendonly yes --protected-mode no volumes: # Persist KeyDB data - - redis-data:/data - -networks: - heyform-network: - driver: bridge + - keydb-data:/data volumes: heyform-data: mongo-data: - redis-data: + keydb-data: diff --git a/blueprints/heyform/meta.json b/blueprints/heyform/meta.json index 7b64c42d..43f6f1f6 100644 --- a/blueprints/heyform/meta.json +++ b/blueprints/heyform/meta.json @@ -1,7 +1,7 @@ { "id": "heyform", "name": "HeyForm", - "version": "latest", + "version": "v0.1.0", "description": "Allows anyone to create engaging conversational forms for surveys, questionnaires, quizzes, and polls. No coding skills required.", "logo": "heyform.svg", "links": { diff --git a/blueprints/heyform/template.toml b/blueprints/heyform/template.toml index 0f778d88..301251b7 100644 --- a/blueprints/heyform/template.toml +++ b/blueprints/heyform/template.toml @@ -8,6 +8,13 @@ env = [ "APP_HOMEPAGE_URL=http://${main_domain}", "SESSION_KEY=${session_key}", "FORM_ENCRYPTION_KEY=${form_encryption_key}", + "SMTP_FROM=HeyForm ", + "SMTP_HOST=", + "SMTP_PORT=587", + "SMTP_USER=", + "SMTP_SECURE=false", + "SMTP_IGNORE_CERT=false", + "SMTP_PASSWORD=", ] mounts = []