2024-09-02 22:37:09 +01:00
2024-09-02 00:22:34 +01:00
2024-09-02 00:22:34 +01:00
2024-09-02 22:37:09 +01:00

Gitea

Backup And Restore

Source - https://docs.gitea.io/en-us/backup-and-restore/

Gitea dump from docker host

# exec          -> execute
# -u            -> container name
# -w            -> working directory on container 
# bash -c "x"   -> execute bash with command x

/usr/bin/docker exec -u git -w /tmp/backups gitea bash -c "/app/gitea/gitea dump"

nginx

    location / {
        proxy_pass http://git_limbosolutions_com-gitea:80;
        proxy_redirect off;
        proxy_set_header Host $http_host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Forwarded-Protocol $scheme;
        proxy_set_header X-Url-Scheme $scheme;
    }

Other References

Description
No description provided
Readme 76 KiB
Languages
Dockerfile 77.3%
Shell 22.7%