Skip to content

Commit

Permalink
fix(docker): remove version attr in docker_compose and doc improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
12b committed Mar 21, 2024
1 parent 875099d commit 5a4c208
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
10 changes: 5 additions & 5 deletions docker/README.md
Expand Up @@ -24,8 +24,8 @@ The dev docker-compose contain the following images :
To be able to develop locally without messing up with users and permissions, the dev dockerfile uses the same user and group as computer user.
You need to create a file called `.env` within the `docker` directory with the following content :
```
export UID="YOUR_USER_ID" # can be found with id -u
export GID="YOUR_USER_GID" # can be found with id -g
UID="YOUR_USER_ID" # can be found with id -u
GID="YOUR_USER_GID" # can be found with id -g
```

Then you can build the container with the following command :
Expand All @@ -46,9 +46,9 @@ Then yeswiki will be accessible at [localhost:8085](http://localhost:8085),
Once on the install page, use the following values :

- **Mysql server host** : yeswiki-db
- **MYSQL database name** : yeswiki (can be fond in yeswiki.secret)
- **MYSQL username** : yeswiki (can be fond in yeswiki.secret)
- **MYSQL password** : password (can be fond in yeswiki.secret)
- **MYSQL database name** : yeswiki (can be found in yeswiki.secret)
- **MYSQL username** : yeswiki (can be found in yeswiki.secret)
- **MYSQL password** : password (can be found in yeswiki.secret)

> [!]tips
> if you have a previous developpement installation you may need to change value accordingly in the wakka.config.php
Expand Down
2 changes: 0 additions & 2 deletions docker/docker-compose-prod.yml
@@ -1,5 +1,3 @@
version: "3.7"

volumes:
yeswiki-db:
name: yeswiki-db
Expand Down
2 changes: 0 additions & 2 deletions docker/docker-compose.yml
@@ -1,5 +1,3 @@
version: "3.7"

volumes:
yeswiki-db:
name: yeswiki-db
Expand Down

0 comments on commit 5a4c208

Please sign in to comment.