-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Docker): move docker to docker folder, better doc, use mysql inst…
…ead off mariadb
- Loading branch information
Showing
6 changed files
with
84 additions
and
127 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,26 @@ | ||
# Build image | ||
# Docker usage | ||
|
||
## Build image | ||
|
||
``` | ||
```bash | ||
docker compose build | ||
``` | ||
# Launch image | ||
|
||
## Launch image | ||
|
||
- `docker compose up -d` | ||
- yeswiki should be accessible at `localhost:8085` | ||
|
||
# Dev version | ||
## Dev version | ||
|
||
- allow www-data to right local directory | ||
This version should map the local repository to your docker container. | ||
|
||
This version should map the local repository to your docker container. | ||
- `docker compose up -f docker-compose-dev.yml` | ||
|
||
## Remove all docker images and volumes | ||
|
||
```bash | ||
docker compose stop | ||
docker compose rm | ||
docker volume rm yeswiki yeswiki-db | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
MARIADB_DATABASE=yeswiki | ||
MARIADB_ROOT_PASSWORD=root | ||
MARIADB_USER=yeswiki | ||
MARIADB_PASSWORD=password | ||
MYSQL_DATABASE=yeswiki | ||
MYSQL_ROOT_PASSWORD=root | ||
MYSQL_USER=yeswiki | ||
MYSQL_PASSWORD=password |