Go to file
2023-10-14 15:38:42 +02:00
.git-crypt Add 1 git-crypt collaborator 2022-06-29 14:28:13 +02:00
bind9 Add A sync 2023-10-14 15:38:42 +02:00
ddclient Update old domain to new server 2023-05-21 17:46:39 +02:00
slides-notes Create slides notes server for revealjs 2022-09-23 15:31:53 +02:00
swag Update old domain to new server 2023-05-21 17:46:39 +02:00
syncthing Add A sync 2023-10-14 15:38:42 +02:00
taskserver Update taskserver to new domain 2023-04-12 16:55:29 +02:00
.gitattributes Set up nextcloud 2023-05-19 17:10:31 +02:00
.gitignore Add taskserver 2022-09-11 12:33:19 +02:00
docker-compose.yml Add A sync 2023-10-14 15:38:42 +02: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
README.md Update readme with upgrade mariadb 2023-07-10 16:53:22 +02: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

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 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

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