Skip to content

Commit c0a36a5

Browse files
sgarwoodbestlong
authored andcommitted
Removing mention of production-docker-compose.yml file (laradock#2093)
The production-docker-compose.yml file was removed in laradock#524, updating the docs to reflect this
1 parent c0b28fc commit c0a36a5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • DOCUMENTATION/content/documentation

DOCUMENTATION/content/documentation/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,9 @@ docker-compose run --user=root --rm sonarqube chown sonarqube:sonarqube /opt/son
440440
<a name="Laradock-for-Production"></a>
441441
## Prepare Laradock for Production
442442

443-
It's recommended for production to create a custom `docker-compose.yml` file. For that reason, Laradock is shipped with `production-docker-compose.yml` which should contain only the containers you are planning to run on production (usage example: `docker-compose -f production-docker-compose.yml up -d nginx mysql redis ...`).
443+
It's recommended for production to create a custom `docker-compose.yml` file, for example `production-docker-compose.yml`
444+
445+
In your new production `docker-compose.yml` file you should contain only the containers you are planning to run in production (usage example: `docker-compose -f production-docker-compose.yml up -d nginx mysql redis ...`).
444446

445447
Note: The Database (MySQL/MariaDB/...) ports should not be forwarded on production, because Docker will automatically publish the port on the host, which is quite insecure, unless specifically told not to. So make sure to remove these lines:
446448

0 commit comments

Comments
 (0)