Skip to content
Snippets Groups Projects
Commit e5913e50 authored by jurgenhaas's avatar jurgenhaas
Browse files

Update readme

parent ce807d00
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -119,17 +119,7 @@ There are potentially more options possible, for details please refer to the Dru
#### Configure SSH access from the PHP container
If you SSH access to the remote host is protected by a public/private key pair, then you have to configure you Docker container to be able to access the remote host. Here are the steps you need to take:
```bash
docker-compose exec php sh
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
# For all the following questions just hit enter
cat /root/.ssh/id_rsa.pub
```
This will show you the just created public key on the console and you should copy that output and then once go to your remote host and add that key to the end of the file `~/.ssh/authorized_keys`.
Your host SSH configuration is automatically forwarded to the PHP docker container using sockets and you don't have to do anything to make it work, as long as your host is configured correctly to access your live site via SSH - in this case the PHP container can too.
### Using Drush
......@@ -184,8 +174,9 @@ To overwrite the default settings for the Docker environment, add the relevant p
"version": "7.0",
"xdebug": 1
},
"nginx": {
"version": "1.10"
"webserver": {
"type": "nginx",
"version": "1.13"
},
"varnish": {
"enable": 0
......@@ -194,7 +185,19 @@ To overwrite the default settings for the Docker environment, add the relevant p
"enable": 0
},
"node": {
"enable": 0,
"key": "",
"path": ""
},
"memcached": {
"enable": 0
},
"rsyslog": {
"enable": 0
},
"athenapdf": {
"enable": 0,
"key": ""
}
}
}
......@@ -203,7 +206,9 @@ To overwrite the default settings for the Docker environment, add the relevant p
Other supported values for the PHP version are `5.3`, `5.6` and `7.1`.
Once you've changed those values, run `composer update` and the environment will be re-configured. THe next time you start your Docker environment those new values will be used.
Other supported value for the webserver type is `apache`.
Once you've changed those values, run `composer update` and the environment will be re-configured. The next time you start your Docker environment those new values will be used.
## Tipps & Tricks
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment