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
**Note**: If you are not using [Cloudflare DNS](https://www.cloudflare.com/dns/), please see [the documentation on
130
-
how to pass the correct environment variables to Lexicon](https://github.com/adferrand/docker-letsencrypt-dns#configuring-dns-provider-and-authentication-to-dns-api).
131
-
132
-
Configure the (sub)domains forwhich you want certificate(s) to be issued forin`docker-compose-prod/docker/letsencrypt/domains.conf`.
133
-
For example, to request a wildcard certificate for`*.example.com` and `example.com`:
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d
154
84
```
155
-
156
-
5. Bring up the services.
157
-
158
-
If you are **not** using the (optional) Let's Encrypt integration:
159
-
160
-
```console
161
-
docker-compose -f docker-compose-prod/docker-compose.yml up -d
162
-
```
163
-
164
-
If you are using the (optional) Let's Encrypt integration:
165
-
166
-
```console
167
-
docker-compose -f docker-compose-prod/docker-compose.yml -f docker-compose-prod/docker-compose.letsencrypt.yml up -d
168
-
```
169
-
170
-
## Running the Docker Compose Setup for Production Locally
171
-
172
-
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)
173
-
or to troubleshoot problems which can only be reproduced with a production setup (e.g. Varnish errors or cache misses).
174
-
175
-
You may (re)use the same [Docker Compose setup for production](https://github.com/api-platform/docker-compose-prod) we
176
-
have [installed above](#installing-the-docker-compose-setup-for-production).
0 commit comments