You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
2.0 KiB
50 lines
2.0 KiB
4 years ago
|
# Docker
|
||
|
|
||
|
!!! tip
|
||
|
|
||
5 months ago
|
If you're new to dockers and want an easy setup, we suggest taking a look at [DockSTARTer](https://dockstarter.com/){:target="_blank" rel="noopener noreferrer"}.
|
||
1 month ago
|
We've also created a short guide [HERE](/File-and-Folder-Structure/How-to-set-up/Dockstarter/) where we explain the settings for the most used applications.
|
||
4 years ago
|
|
||
4 years ago
|
The main goal of DockSTARTer is to make it quick and easy to get up and running with Docker.
|
||
|
You may choose to rely on DockSTARTer for various changes to your Docker system or use DockSTARTer as a stepping stone and learn to do more advanced configurations.
|
||
4 years ago
|
|
||
5 months ago
|
*DockSTARTer was actually my first step into the world of dockers.*
|
||
4 years ago
|
|
||
|
!!! note
|
||
|
|
||
5 months ago
|
I'm not going to explain how to get dockers installed and running, we will only explain which folder structure we recommend.
|
||
4 years ago
|
|
||
2 years ago
|
The paths mentioned below refer to internal paths (or `Container Path`) for the containers!
|
||
4 years ago
|
|
||
5 months ago
|
External paths (or `Host Path`) depend on where you mounted your share or your drives.
|
||
4 years ago
|
|
||
|
For example `/<path_to_data>/data`, or even `/data`.
|
||
4 years ago
|
|
||
1 month ago
|
{! include-markdown "../../../includes/file-and-folder-structure/folder-structure.md" !}
|
||
4 years ago
|
|
||
1 month ago
|
{! include-markdown "../../../includes/file-and-folder-structure/bad-path-suggestion.md" !}
|
||
2 years ago
|
|
||
1 month ago
|
{! include-markdown "../../../includes/file-and-folder-structure/breakdown-folder-structure-docker.md" !}
|
||
4 years ago
|
|
||
1 month ago
|
{! include-markdown "../../../includes/file-and-folder-structure/permissions.md" !}
|
||
4 years ago
|
|
||
|
## Docker-compose Example
|
||
|
|
||
|
!!! example ""
|
||
7 months ago
|
|
||
4 years ago
|
This is a docker-compose example based on a default Ubuntu install.
|
||
|
|
||
5 months ago
|
The storage location used for the host is the same as in the container to make it easier to understand in this case `/data`.
|
||
4 years ago
|
|
||
|
The appdata (`/config`) will be stored on the host in the `/docker/appdata/{appname}`
|
||
|
|
||
1 year ago
|
??? example "docker-compose - [Click to show/hide]"
|
||
4 years ago
|
|
||
2 years ago
|
```yaml
|
||
2 years ago
|
--8<-- "includes/docker/docker-compose.yml"
|
||
4 years ago
|
```
|
||
3 years ago
|
|
||
1 month ago
|
{! include-markdown "../../../includes/file-and-folder-structure/docker-compose-commands.md" !}
|
||
3 years ago
|
|
||
6 months ago
|
--8<-- "includes/support.md"
|