Skip to content

Commit

Permalink
docker: fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
seballot committed Dec 21, 2023
1 parent 1d8e431 commit 880cb60
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
15 changes: 7 additions & 8 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,12 @@ Detailed instructions are available [in the official doc](https://yeswiki.net/?d

First you need to install docker and docker-compose: <https://docs.docker.com/install>

Run `docker-compose up` in the root folder to install and launch the containers
Run `cd docker && docker compose up -d` to install and launch the containers

Then go to <http://localhost:81>.
In the setup, you will need to provide following configuration for MySQL server:
Then go to <http://localhost:8085>.
In the setup, you will need to provide following configuration for the database:

- **Host: db**
- Login: root
- Password: root

You can see/modify the created tables by going to: <http://localhost:8080>
- MySQL Host: yeswiki-db
- MySql Database: yeswiki (see `docker/yeswiki.secrets`)
- MySql Username: yeswiki (see `docker/yeswiki.secrets`)
- MySql Password: password (see `docker/yeswiki.secrets``)
4 changes: 3 additions & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Build image

From within `docker` folder

```bash
docker compose build
```
Expand All @@ -15,7 +17,7 @@ docker compose build

- allow www-data to right local directory
This version should map the local repository to your docker container.
- `docker compose up -f docker-compose-dev.yml`
- `docker compose -f docker-compose-dev.yml up`

## Remove all docker images and volumes

Expand Down

0 comments on commit 880cb60

Please sign in to comment.