mirror of
https://github.com/friendica/docker
synced 2025-04-25 16:28:20 +02:00
remove --link usage in README (replace with --network some-network)
This commit is contained in:
parent
c7edbfc258
commit
078e3852c8
1 changed files with 4 additions and 2 deletions
|
@ -34,7 +34,7 @@ The apache image contains a webserver and exposes port 80.
|
||||||
To start the container type:
|
To start the container type:
|
||||||
|
|
||||||
```console
|
```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.
|
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
|
## 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
|
## Persistent data
|
||||||
|
|
||||||
|
@ -137,6 +137,7 @@ Friendica:
|
||||||
```console
|
```console
|
||||||
$ docker run -d \
|
$ docker run -d \
|
||||||
-v friendica-vol-1:/var/www/html \
|
-v friendica-vol-1:/var/www/html \
|
||||||
|
--network some-network
|
||||||
friendica/server
|
friendica/server
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -147,6 +148,7 @@ Database:
|
||||||
```console
|
```console
|
||||||
$ docker run -d \
|
$ docker run -d \
|
||||||
-v mysql-vol-1:/var/lib/mysql \
|
-v mysql-vol-1:/var/lib/mysql \
|
||||||
|
--network some-network
|
||||||
mariadb
|
mariadb
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue