This commit is contained in:
parent
df03e066f9
commit
e2797b4071
|
@ -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,
|
||||||
|
[]
|
||||||
|
)
|
||||||
|
|
|
@ -12,18 +12,18 @@ services:
|
||||||
image: huginn/huginn
|
image: huginn/huginn
|
||||||
environment:
|
environment:
|
||||||
# For huginn/huginn - essential
|
# For huginn/huginn - essential
|
||||||
- SMTP_DOMAIN=your-domain-here.com
|
- SMTP_DOMAIN=$SMTP_DOMAIN
|
||||||
- SMTP_USER_NAME=you@gmail.com
|
- SMTP_USER_NAME=$SMTP_USER_NAME
|
||||||
- SMTP_PASSWORD=somepassword
|
- SMTP_PASSWORD=$SMTP_PASSWORD
|
||||||
- SMTP_SERVER=your-mailserver-here.com
|
- SMTP_SERVER=$SMTP_SERVER
|
||||||
- SMTP_PORT=587
|
- SMTP_PORT=$SMTP_PORT
|
||||||
- SMTP_AUTHENTICATION=plain
|
- SMTP_AUTHENTICATION=plain
|
||||||
- SMTP_ENABLE_STARTTLS_AUTO=true
|
- SMTP_ENABLE_STARTTLS_AUTO=true
|
||||||
- INVITATION_CODE=<set an invitation code here>
|
- INVITATION_CODE=$INVITATION_CODE
|
||||||
- POSTGRES_PORT_5432_TCP_ADDR=db
|
- POSTGRES_PORT_5432_TCP_ADDR=db
|
||||||
- POSTGRES_PORT_5432_TCP_PORT=5432
|
- POSTGRES_PORT_5432_TCP_PORT=5432
|
||||||
- DATABASE_USERNAME=huginn
|
- DATABASE_USERNAME=huginn
|
||||||
- DATABASE_PASSWORD=<database password>
|
- DATABASE_PASSWORD=$DATABASE_PASSWORD
|
||||||
- DATABASE_ADAPTER=postgresql
|
- DATABASE_ADAPTER=postgresql
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
@ -40,7 +40,7 @@ services:
|
||||||
condition: any
|
condition: any
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=huginn
|
- POSTGRES_USER=huginn
|
||||||
- POSTGRES_PASSWORD=<database password>
|
- POSTGRES_PASSWORD=$DATABASE_PASSWORD
|
||||||
- BACKUP_NUM_KEEP=7
|
- BACKUP_NUM_KEEP=7
|
||||||
- BACKUP_FREQUENCY=1d
|
- BACKUP_FREQUENCY=1d
|
||||||
image: postgres:latest
|
image: postgres:latest
|
||||||
|
@ -61,7 +61,7 @@ services:
|
||||||
image: postgres:latest
|
image: postgres:latest
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=huginn
|
- POSTGRES_USER=huginn
|
||||||
- POSTGRES_PASSWORD=<database password>
|
- POSTGRES_PASSWORD=$DATABASE_PASSWORD
|
||||||
- BACKUP_NUM_KEEP=7
|
- BACKUP_NUM_KEEP=7
|
||||||
- BACKUP_FREQUENCY=1d
|
- BACKUP_FREQUENCY=1d
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in New Issue