Skip to content

Commit 2da6ea7

Browse files
committed
Updated documentation
1 parent 75bd595 commit 2da6ea7

File tree

10 files changed

+20
-15
lines changed

10 files changed

+20
-15
lines changed

documentation/CUSTOMIZE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ You can add custom shell commands in `docker/main/{DISTRIBUTION}/bin/customizati
99

1010
## Custom php.ini directives
1111

12-
Modify the `docker/main/{DISTRIBUTION}/conf/php.ini`, it will be added on top of the default php.ini so
12+
Modify the `etc/php/development.ini` or `etc/php/production.ini`, it will be added on top of the default php.ini so
1313
you can overwrite any directives.
1414

1515
After modification rebuild your `main` container:

documentation/DOCKER-INFO.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66

77
Container | Description
88
------------------------- | -------------------------------
9-
main | Main container with PHP-FPM and tools (your entrypoint for bash, php and other stuff)
9+
main | Main container with nginx/apache and PHP-FPM and tools (your entrypoint for bash, php and other stuff)
1010
storage | Storage container, eg. for Solr data
11-
web | Apache HTTPD or Nginx webserver
1211
mysql | MySQL database
1312
postgres (optional) | PostgreSQL database
1413
solr (optional) | Apache Solr server

documentation/DOCKER-QUICKSTART.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
Create and start containers (eg. first start):
88

99
```bash
10+
# copy favorite docker-compose.*.yml to docker-compose.yml
11+
cp docker-compose.development.yml docker-compose.yml
1012
docker-compose up -d
1113
```
1214

@@ -52,8 +54,8 @@ docker-compose logs
5254
# ... or only php
5355
docker-compose logs main
5456

55-
# ... or only php and webserver
56-
docker-compose logs main web
57+
# ... or only main and mysql
58+
docker-compose logs main mysql
5759
```
5860

5961
CLI script (defined in docker-env.yml)

documentation/DOCKER-STARTUP.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ Checkout this project and create and run the Docker containers using [docker-com
99
```bash
1010
git clone https://github.com/webdevops/php-docker-boilerplate.git projectname
1111
cd projectname
12+
13+
# copy favorite docker-compose.*.yml to docker-compose.yml
14+
cp docker-compose.development.yml docker-compose.yml
15+
1216
docker-compose up -d
1317
```
1418

documentation/INSTALL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
If you want to run a Docker VM make sure you're using VMware or Parallels Desktop because of
1313
the much faster virtualisation (networking, disk access, shared folders) compared to VirtualBox.
1414

15-
There is also a [Vagrant VM for VirtualBox, VMware and Parallels](https://github.com/webdevops/vagrant-development)
15+
There is also a [Vagrant VM for VirtualBox, VMware and Parallels](https://github.com/webdevops/vagrant-docker-vm)
1616
with a mailcatcher (Postfix with Dovecot, catches all outgoing mails).
1717

1818
_Warning:_ Boot2docker ist not recommended because of slow/buggy file sharing between host and guest and there is no
@@ -29,8 +29,8 @@ git clone --recursive https://github.com/webdevops/php-docker-boilerplate.git pr
2929

3030
cd projectname
3131

32-
# for local development (shared volumes)
33-
cp docker-compose-development.yml docker-compose.yml
32+
# copy favorite docker-compose.*.yml to docker-compose.yml
33+
cp docker-compose.development.yml docker-compose.yml
3434

3535
docker-compose up -d
3636
```

documentation/PROJECT-EXISTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ or manually
1515
git clone --recursive https://github..../ code/
1616
```
1717

18-
Check `DOCUMENT_ROOT` and `DOCUMENT_INDEX` in `docker-env.yml`
18+
Check `DOCUMENT_ROOT` and `DOCUMENT_INDEX` in `docker-environment.yml`
1919

2020
## Cli runner
2121

documentation/PROJECT-SYMFONY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
make create symfony
99
```
1010

11-
And change `DOCUMENT_ROOT` and `DOCUMENT_ROOT` in `docker-env.yml`:
11+
And change `DOCUMENT_ROOT` and `DOCUMENT_ROOT` in `docker-environment.yml`:
1212

1313
DOCUMENT_ROOT=code/web/
1414
DOCUMENT_INDEX=app_dev.php

documentation/SERVICES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Services
44

5-
### Web (Nginx or Apache HTTPd)
5+
### Main (Nginx or Apache HTTPd)
66

77
Setting | Value
88
------------- | -------------

documentation/TROUBLESHOOTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
## Startup or (docker) linking errors (safe reset)
66

7-
If you got any startup issues you can try to rebuild `main` and `web` containers.
7+
If you got any startup issues you can try to rebuild `main` containers.
88
You won't lose any data with this way - it's a safe reset.
99

1010
```bash
1111
docker-compose stop
12-
docker-compose rm --force main web
13-
docker-compose build --no-cache main web
12+
docker-compose rm --force main
13+
docker-compose build --no-cache main
1414
docker-compose up -d
1515
```
1616

documentation/UPDATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
If you have cloned the git repository it's safe to pull the new version.
88

99
If you have used a zip file make sure to replace the `docker/` directory and also
10-
update `docker-compose.yml` and `docker-env.yml`.
10+
update `docker-compose.yml` and `docker-environment.yml`.
1111

1212
For [changes see CHANGELOG.md](/CHANGELOG.md)
1313

0 commit comments

Comments
 (0)