1
0
mirror of https://github.com/tiyn/wiki.git synced 2026-02-22 18:34:47 +01:00

docker: improved structure

This commit is contained in:
2024-11-26 06:15:03 +01:00
parent a791e45fbb
commit 1abdc66ab0
72 changed files with 355 additions and 310 deletions

View File

@@ -13,7 +13,7 @@ Docker container.
Create the files `rebuild.sh` and `docker-compose.yml` at the same place.
Change the settings according to your needs and run `./rebuild.sh` afterwards.
## Volumes
### Volumes
Set the following volumes in the `volumes:` section of the docker-compose file.
@@ -22,7 +22,7 @@ Set the following volumes in the `volumes:` section of the docker-compose file.
| `owncloud` | `/var/www/html` | storage for owncloud plugins |
| `config` | `/var/www/html/config` | storage for owncloud config |
## Ports
### Ports
Set the following ports in the `ports:` section.
@@ -30,7 +30,7 @@ Set the following ports in the `ports:` section.
| -------------- | ------------------------ | -------- | ----------- |
| `80` | `80` | TCP | WebUI |
## rebuild.sh
### rebuild.sh
```sh
#!/bin/sh
@@ -40,7 +40,7 @@ docker pull mariadb
docker-compose up -d
```
## docker-compose.yml
### docker-compose.yml
```yml
version: "3.1"