From 078e3852c847cd5f41582038109e161d543429ce Mon Sep 17 00:00:00 2001 From: nupplaPhil Date: Wed, 1 Jan 2020 19:16:49 +0100 Subject: [PATCH] remove --link usage in README (replace with --network some-network) --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b7f381d..491d222 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ The apache image contains a webserver and exposes port 80. To start the container type: ```console -$ docker run -d -p 8080:80 --link some-mysql:mysql friendica/server +$ docker run -d -p 8080:80 --network some-network friendica/server ``` Now you can access the Friendica installation wizard at http://localhost:8080/ from your host system. @@ -119,7 +119,7 @@ The following environment variables are possible for the SMTP examples. ## Database settings -You have to link a running database container, e. g. `--link my-mysql:mysql`, and then use `mysql` as the database host on setup. +You have to add the Friendica container to the same network as the running database container, e. g. `--network some-network`, and then use `mysql` as the database host on setup. ## Persistent data @@ -137,6 +137,7 @@ Friendica: ```console $ docker run -d \ -v friendica-vol-1:/var/www/html \ + --network some-network friendica/server ``` @@ -147,6 +148,7 @@ Database: ```console $ docker run -d \ -v mysql-vol-1:/var/lib/mysql \ + --network some-network mariadb ```