From 3371a3df2db34ae0ee6b7f342dde2cf19d0e675a Mon Sep 17 00:00:00 2001 From: Mo8it Date: Thu, 2 Feb 2023 13:44:13 +0100 Subject: [PATCH] Add step to create volume directories --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e7438a6..d0403cc 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ If you don't want to use your own reverse proxy, you can use [`compose.yaml`](co - Open the file `~/advlabdb/traefik/etc/dynamic`, uncomment ``rule: Host(`SERVER_NAME`)`` and replace `SERVER_NAME` with your domain, `advlabdb.mo8it.com` for example. - Change the time zone `TZ` in `~/advlabdb/traefik/compose.yaml` if it is not `Europe/Berlin`. Use the command `tzselect` to find out your time zone. - Now start Traefik by running the command `sudo docker compose up -d` in the directory `~/advlabdb/traefik`. +- Create directories for the data and logs volumes: `mkdir ~/advlabdb/{data,logs}` - Change the time zone `TZ` in `~/advlabdb/repo/compose.yaml` if it is not `Europe/Berlin`. - Initilialize the database by running `sudo docker compose run advlabdb manage.py setup init-db` in the directory `~/advlabdb/repo` and following the guide. - Start AdvLabDB by running the command `sudo docker compose up -d` in the directory `~/advlabdb/repo`.