Fix mounts

This commit is contained in:
Luke Murphy 2020-04-15 16:52:52 +02:00
parent fd4ebfdbdc
commit 42e4220b5f
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 5 additions and 22 deletions

View File

@ -4,28 +4,11 @@ vars:
domain: "git.autonomic.zone"
ssh_listen_port: "2222"
# TODO(decentral1se): fix handling
# volumes:
# - type: directory
# src: /var/lib/gitea
# dest: /data
# owner: git
# group: git
# - type: directory
# create: false
# 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
# dest: /etc/localtime
volumes:
- /var/lib/gitea:/data
- /var/lib/gitea/git/.ssh:/data/git/.ssh
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
db:
- type: "mariadb"