Add white space and fix var names

This commit is contained in:
Luke Murphy 2020-04-15 13:30:00 +02:00
parent 5e4116928a
commit 6505de02b2
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 5 additions and 2 deletions

View File

@ -7,13 +7,16 @@ volumes:
- type: directory - type: directory
src: /var/lib/gitea src: /var/lib/gitea
dest: /data dest: /data
- type: directory - type: directory
src: /var/lib/gitea/.ssh src: /var/lib/gitea/.ssh
dest: /data/git/.ssh dest: /data/git/.ssh
- type: file - type: file
create: false create: false
src: /etc/timezone src: /etc/timezone
dest: /etc/timezone dest: /etc/timezone
- type: link - type: link
create: false create: false
src: /etc/localtime src: /etc/localtime

View File

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
ssh \ ssh \
-p {{ vars.ssh_listen_port }} \ -p {{ ssh_listen_port }} \
-o StrictHostKeyChecking=no \ -o StrictHostKeyChecking=no \
git@{{ vars.dokku_container_ip }} \ git@{{ dokku_container_ip }} \
"SSH_ORIGINAL_COMMAND=\"$SSH_ORIGINAL_COMMAND\" $0 $@" "SSH_ORIGINAL_COMMAND=\"$SSH_ORIGINAL_COMMAND\" $0 $@"