|
18 | 18 | "docker-compose.yml": {
|
19 | 19 | "services": [
|
20 | 20 | "mercure:",
|
21 |
| - " image: dunglas/mercure", |
22 |
| - " restart: unless-stopped", |
23 |
| - " environment:", |
24 |
| - " SERVER_NAME: ':80'", |
25 |
| - " MERCURE_PUBLISHER_JWT_KEY: '!ChangeMe!'", |
26 |
| - " MERCURE_SUBSCRIBER_JWT_KEY: '!ChangeMe!'", |
27 |
| - " # Set the URL of your Symfony project (without trailing slash!) as value of the cors_origins directive", |
28 |
| - " MERCURE_EXTRA_DIRECTIVES: |", |
29 |
| - " cors_origins http://127.0.0.1:8000", |
30 |
| - " # Comment the following line to disable the development mode", |
31 |
| - " command: /usr/bin/caddy run -config /etc/caddy/Caddyfile.dev", |
32 |
| - " volumes:", |
33 |
| - " - mercure_data:/data", |
34 |
| - " - mercure_config:/config" |
| 21 | + " image: dunglas/mercure", |
| 22 | + " restart: unless-stopped", |
| 23 | + " environment:", |
| 24 | + " SERVER_NAME: ':80'", |
| 25 | + " MERCURE_PUBLISHER_JWT_KEY: '!ChangeMe!'", |
| 26 | + " MERCURE_SUBSCRIBER_JWT_KEY: '!ChangeMe!'", |
| 27 | + " # Set the URL of your Symfony project (without trailing slash!) as value of the cors_origins directive", |
| 28 | + " MERCURE_EXTRA_DIRECTIVES: |", |
| 29 | + " cors_origins http://127.0.0.1:8000", |
| 30 | + " # Comment the following line to disable the development mode", |
| 31 | + " command: /usr/bin/caddy run -config /etc/caddy/Caddyfile.dev", |
| 32 | + " volumes:", |
| 33 | + " - mercure_data:/data", |
| 34 | + " - mercure_config:/config" |
35 | 35 | ],
|
36 | 36 | "volumes": ["mercure_data:", "mercure_config:"]
|
37 | 37 | },
|
38 | 38 | "docker-compose.override.yml": {
|
39 | 39 | "services": [
|
40 | 40 | "mercure:",
|
41 |
| - " ports:", |
42 |
| - " - \"80\"" |
| 41 | + " ports:", |
| 42 | + " - \"80\"" |
43 | 43 | ]
|
44 | 44 | }
|
45 | 45 | },
|
|
0 commit comments