mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-12-26 23:51:03 +00:00
Add step to create volume directories
This commit is contained in:
parent
d4f274de73
commit
3371a3df2d
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
- 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.
|
- 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`.
|
- 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`.
|
- 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.
|
- 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`.
|
- Start AdvLabDB by running the command `sudo docker compose up -d` in the directory `~/advlabdb/repo`.
|
||||||
|
|
Loading…
Reference in a new issue