Skip to content

Commit 702c75b

Browse files
committed
change the order of the chown to prevent read-only database
1 parent f20e872 commit 702c75b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,12 @@ This will start up three containers: the solid server, pubsub server and a mailp
1919
The persisted data will be stored in the data/ directory. This contains the keys, pods, db and mailpit data.
2020

2121
Run the following commands to set up the container (replace 'solid' below with the name of your container):
22-
```
23-
docker exec -w /opt/solid/ solid chown -R www-data:www-data keys pods db
24-
docker exec -w /opt/solid/ solid cp config.php.example config.php
25-
```
22+
Note: Update the values in the config.php file where needed befure running the init script.
2623

27-
Update the values in the config.php file where needed, then run the initialization script:
2824
```
25+
docker exec -w /opt/solid/ solid cp config.php.example config.php
2926
docker exec -u www-data -i -w /opt/solid/ solid php init.php
27+
docker exec -w /opt/solid/ solid chown -R www-data:www-data keys pods db
3028
```
3129

3230
## DNS gotcha and snake oil certificate

0 commit comments

Comments
 (0)