Go to file
2026-01-18 18:29:38 +01:00
.git-crypt Add 1 git-crypt collaborator 2022-06-29 14:28:13 +02:00
bind9 Add subdomains for ente 2026-01-04 13:04:22 +01:00
ddclient Add subdomains for ente 2026-01-04 13:04:22 +01:00
garage Add garage conf 2025-12-31 17:20:07 +01:00
slides-notes Create slides notes server for revealjs 2022-09-23 15:31:53 +02:00
ssh add ssh keys 2024-11-10 11:21:11 +01:00
swag Add subdomains for ente 2026-01-04 13:04:22 +01:00
syncthing open dl 2025-12-31 14:47:06 +01:00
zotero-sync fix typo 2024-11-10 18:05:49 +01:00
.env Add vikunja 2025-11-06 23:06:06 +01:00
.gitattributes Add garage 2025-12-31 17:19:19 +01:00
.gitignore Add taskserver 2022-09-11 12:33:19 +02:00
backup.py Update backup and setup ente admin 2026-01-18 18:29:38 +01:00
docker-compose.yml Update backup and setup ente admin 2026-01-18 18:29:38 +01:00
ente-db-pw.secret WIP on ENTE need to setup domain names 2026-01-02 17:39:01 +01:00
ente-s3-key.secret WIP on ENTE need to setup domain names 2026-01-02 17:39:01 +01:00
ente-s3-secret.secret WIP on ENTE need to setup domain names 2026-01-02 17:39:01 +01:00
gitea-db-pw.secret add gitea 2024-11-10 17:58:00 +01:00
gitea-db-root-pw.secret add gitea 2024-11-10 17:58:00 +01:00
hedgedoc-db-pw.secret Add pad 2024-01-29 20:38:16 +01:00
hedgedoc-db-root-pw.secret Add pad 2024-01-29 20:38:16 +01:00
lychee-db-pw.secret Refactor secrets 2023-05-19 17:47:20 +02:00
lychee-db-root-pw.secret Refactor secrets 2023-05-19 17:47:20 +02:00
nextcloud-db-pw.secret Set up nextcloud 2023-05-19 17:10:31 +02:00
nextcloud-db-root-pw.secret Set up nextcloud 2023-05-19 17:10:31 +02:00
nocodb-db-pw.secret Add nocodb 2025-02-04 16:40:00 +01:00
nocodb-db-root-pw.secret Add nocodb 2025-02-04 16:40:00 +01:00
nocodb-json.secret Add nocodb 2025-02-04 16:40:00 +01:00
README.md Add garage 2025-12-31 17:19:19 +01:00
transmission-pw.secret Refactor secrets 2023-05-19 17:47:20 +02:00
transmission-user.secret Refactor secrets 2023-05-19 17:47:20 +02:00

Docker

Dependencies

  • git-crypt

Setup

Setup DNS server for docker in /etc/docker/daemon.json:

{
	"data-root": "/home/docker",
	"dns": ["1.1.1.1", "8.8.8.8", "8.8.4.4"]
}

Once DNS are properly setup on host:

  1. Create OVH token : https://www.ovh.com/auth/api/createToken
    • Get *, Put *, ...
  2. Paste token in swag/dns-conf/ovh.ini

Services

Create a new service

  1. Add the service in docker-compose.yml
  2. Create the DynHost and id https://www.ovh.com/manager/#/web/domain/guiotte.fr/dynhost
  3. Add the host in the DDclient configuration ./ddclient/ddclient.conf
  4. Add the nginx proxy configuration in ./swag/nginx/proxy-confs/
  5. Update the local zone in ./bind9/guiotte.db
  6. Restart bind9 and swag: dcc restart bind9 swag

Update MariaDB

After upgrading from one major MySQL/MariaDB release to another, we have to run mariadb-upgrade on the services using MariaDB.

Lychee

dcc stop lychee
dcc exec lychee-db mariadb-upgrade -u root -p"$(cat lychee-db-root-pw.secret)"
dcc restart lychee-db
dcc up -d lychee

Nextcloud

dcc stop nextcloud
dcc exec nextcloud-db mariadb-upgrade -u root -p"$(cat nextcloud-db-root-pw.secret)"
dcc restart nextcloud-db
dcc up -d nextcloud

Backup

To backup the named volumes, run:

./backup.py

Garage

Utils

garage status
garage bucket list
garage help

Create a new bucket

garage bucket create test
garage bucket info test

Create new key

garage key create test-app-key
garage key list
garage key info test-app-key

Add key to bucket

garage bucket allow --read --write --owner test --key test-app-key

Logs

2022-11-02 Created OVH token
2022-09-11 Created taskserver certs for 365 days
2022-06-29 Created OVH token for 30 days