-
Notifications
You must be signed in to change notification settings - Fork 10
chore: docker-compose.yml remove attribute version #120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # This configures commits to ignore when running blame. | ||
| # | ||
| # Configure this locally with | ||
| # git config blame.ignoreRevsFile .git-blame-ignore-revs | ||
|
|
||
|
|
||
| # remove version from docker-compose, fix whitespaces | ||
| 3dcc6a9383cd155de6b0de7aefcf31cbdbcd68fb |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,21 +16,19 @@ sudo docker network create --subnet 172.20.255.0/24 database | |
|
|
||
| ## Beispielkonfiguration | ||
| In diesem Beispiel wird eine zentrale MariaDB Datenbank verwendet. | ||
| Die beiden Diensten (Nextcloud, HedgeDoc) nutzen ein docker-internes | ||
| Netzwerk zur Kommunikation mit der Datenbank. | ||
| Die beiden Diensten (Nextcloud, HedgeDoc) nutzen ein docker-internes | ||
| Netzwerk zur Kommunikation mit der Datenbank. | ||
|
|
||
| ### MariaDB | ||
| ```yaml | ||
| # /home/admin/mariadb/docker-compose.yml | ||
| version: '3.9' | ||
|
|
||
| services: | ||
| mariadb: | ||
| image: mariadb | ||
| image: mariadb | ||
| restart: always | ||
| env_file: .mariadb.env | ||
| volumes: | ||
| - "/srv/mariadb:/var/lib/mysql" | ||
| - "/srv/mariadb:/var/lib/mysql" | ||
| networks: | ||
| - "database" | ||
|
|
||
|
|
@@ -42,8 +40,6 @@ networks: | |
| ### HedgeDoc | ||
| ```yaml | ||
| # /home/admin/hedgedoc/docker-compose.yml | ||
| version: '3.9' | ||
|
|
||
| services: | ||
| hedgedoc: | ||
| image: quay.io/hedgedoc/hedgedoc | ||
|
|
@@ -62,7 +58,7 @@ networks: | |
| ``` | ||
|
|
||
| ### Nextcloud | ||
| Im Falle von Nextcloud wird der `nextcloud` Container neben dem | ||
| Im Falle von Nextcloud wird der `nextcloud` Container neben dem | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wird das online richtig angezeigt? Ist zwischen dem "dem" und dem "´database´" online ein Leerzeichen bzw eine Leerzeile?
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nvm, bild zeigt falsche stelle aber richtigen Ausschnitt :D |
||
| `database` Netzwerk auch noch in das `default` Netzwerk aufgenommen. | ||
| Dieses Netzwerk ermöglicht die Kommunikation mit der in der gleichen | ||
| Containerdefinition existierenden Redis Instanz. Wird in einem Service | ||
|
|
@@ -71,12 +67,10 @@ wird dieser in das `default` Netzwerk aufgenommen. | |
|
|
||
| ```yaml | ||
| # /home/admin/nextcloud/docker-compose.yml | ||
| version: '3.9' | ||
|
|
||
| services: | ||
| redis: | ||
| image: redis | ||
| restart: always | ||
| restart: always | ||
|
|
||
| nextcloud: | ||
| image: nextcloud | ||
|
|
||

Uh oh!
There was an error while loading. Please reload this page.