You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: deployment/docker-compose.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -150,3 +150,11 @@ These steps should be performed on the production server.
150
150
If you are using the (optional) Let's Encrypt integration:
151
151
152
152
$ docker-compose -f docker-compose-prod/docker-compose.yml -f docker-compose-prod/docker-compose.letsencrypt.yml up -d
153
+
154
+
## Running the Docker Compose Setup for Production Locally
155
+
156
+
Sometimes, you may need to run a production-like setup locally; for example, for [end-to-end testing](../distribution/testing.md#using-the-api-platform-distribution-for-end-to-end-testing)
157
+
or to troubleshoot problems which can only be reproduced with a production setup (e.g. Varnish errors or cache misses).
158
+
159
+
You may (re)use the same [Docker Compose setup for production](https://github.com/api-platform/docker-compose-prod) we
160
+
have [installed above](#installing-the-docker-compose-setup-for-production).
0 commit comments