From 6505de02b2c2144bc124cc4cbd323a4bdbb1cc34 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Wed, 15 Apr 2020 13:30:00 +0200 Subject: [PATCH] Add white space and fix var names --- deploy.d/config.yml | 3 +++ deploy.d/templates/gitea.j2 | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/deploy.d/config.yml b/deploy.d/config.yml index 1345ac9..b6875f3 100644 --- a/deploy.d/config.yml +++ b/deploy.d/config.yml @@ -7,13 +7,16 @@ volumes: - type: directory src: /var/lib/gitea dest: /data + - type: directory src: /var/lib/gitea/.ssh dest: /data/git/.ssh + - type: file create: false src: /etc/timezone dest: /etc/timezone + - type: link create: false src: /etc/localtime diff --git a/deploy.d/templates/gitea.j2 b/deploy.d/templates/gitea.j2 index 630f836..c12f4a0 100755 --- a/deploy.d/templates/gitea.j2 +++ b/deploy.d/templates/gitea.j2 @@ -1,7 +1,7 @@ #!/bin/sh ssh \ - -p {{ vars.ssh_listen_port }} \ + -p {{ ssh_listen_port }} \ -o StrictHostKeyChecking=no \ - git@{{ vars.dokku_container_ip }} \ + git@{{ dokku_container_ip }} \ "SSH_ORIGINAL_COMMAND=\"$SSH_ORIGINAL_COMMAND\" $0 $@"