diff --git a/.drone-home-deploy.star b/.drone-home-deploy.star new file mode 100644 index 0000000..2b4c6a5 --- /dev/null +++ b/.drone-home-deploy.star @@ -0,0 +1,14 @@ + +load("@this//huginn:drone.star", "drone") +load("@this//huginn:stack-name.star", "stackName") +load("@this//huginn:stack-root.star", "stackRoot") + +def main(ctx): + return drone( + ctx, + "home-deploy", + stackRoot, + stackName, + [] + ) + \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index b81d898..07e7b89 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,18 +12,18 @@ services: image: huginn/huginn environment: # For huginn/huginn - essential - - SMTP_DOMAIN=your-domain-here.com - - SMTP_USER_NAME=you@gmail.com - - SMTP_PASSWORD=somepassword - - SMTP_SERVER=your-mailserver-here.com - - SMTP_PORT=587 + - SMTP_DOMAIN=$SMTP_DOMAIN + - SMTP_USER_NAME=$SMTP_USER_NAME + - SMTP_PASSWORD=$SMTP_PASSWORD + - SMTP_SERVER=$SMTP_SERVER + - SMTP_PORT=$SMTP_PORT - SMTP_AUTHENTICATION=plain - SMTP_ENABLE_STARTTLS_AUTO=true - - INVITATION_CODE= + - INVITATION_CODE=$INVITATION_CODE - POSTGRES_PORT_5432_TCP_ADDR=db - POSTGRES_PORT_5432_TCP_PORT=5432 - DATABASE_USERNAME=huginn - - DATABASE_PASSWORD= + - DATABASE_PASSWORD=$DATABASE_PASSWORD - DATABASE_ADAPTER=postgresql volumes: - /etc/localtime:/etc/localtime:ro @@ -40,7 +40,7 @@ services: condition: any environment: - POSTGRES_USER=huginn - - POSTGRES_PASSWORD= + - POSTGRES_PASSWORD=$DATABASE_PASSWORD - BACKUP_NUM_KEEP=7 - BACKUP_FREQUENCY=1d image: postgres:latest @@ -61,7 +61,7 @@ services: image: postgres:latest environment: - POSTGRES_USER=huginn - - POSTGRES_PASSWORD= + - POSTGRES_PASSWORD=$DATABASE_PASSWORD - BACKUP_NUM_KEEP=7 - BACKUP_FREQUENCY=1d volumes: