Skip to content

Commit af59c6f

Browse files
authored
Merge pull request #841 from symfony/docker-compose-fix
Fix docker-compose recipes
2 parents 882d50b + 29139a0 commit af59c6f

File tree

3 files changed

+18
-46
lines changed

3 files changed

+18
-46
lines changed

symfony/mercure-bundle/0.1/manifest.json

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,22 @@
1212
"MERCURE_JWT_TOKEN": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjdXJlIjp7InB1Ymxpc2giOltdfX0.Oo0yg7y4yMa1vr_bziltxuTCqb8JVHKxp-f_FwwOim0"
1313
},
1414
"docker-compose": {
15-
"services": [
16-
"mercure:",
17-
" # In production, you may want to use the managed version of Mercure, https://mercure.rocks",
18-
" image: dunglas/mercure",
19-
" environment:",
20-
" # You should definitely change all these values in production",
21-
" - JWT_KEY=!ChangeMe!",
22-
" - ALLOW_ANONYMOUS=1",
23-
" - CORS_ALLOWED_ORIGINS=*",
24-
" - PUBLISH_ALLOWED_ORIGINS=http://localhost:1337",
25-
" - DEMO=1",
26-
" ports:",
27-
" - \"1337:80\""
28-
]
15+
"docker-compose.yml": {
16+
"services": [
17+
"mercure:",
18+
" # In production, you may want to use the managed version of Mercure, https://mercure.rocks",
19+
" image: dunglas/mercure",
20+
" environment:",
21+
" # You should definitely change all these values in production",
22+
" - JWT_KEY=!ChangeMe!",
23+
" - ALLOW_ANONYMOUS=1",
24+
" - CORS_ALLOWED_ORIGINS=*",
25+
" - PUBLISH_ALLOWED_ORIGINS=http://localhost:1337",
26+
" - DEMO=1",
27+
" ports:",
28+
" - \"1337:80\""
29+
]
30+
}
2931
},
3032
"aliases": ["mercure"]
3133
}

symfony/messenger/4.1/manifest.json

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,6 @@
55
"env": {
66
"#1": "MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages"
77
},
8-
"docker-compose": {
9-
"services": [
10-
"rabbitmq:",
11-
" image: rabbitmq:management-alpine",
12-
" environment:",
13-
" # You should definitely change the password in production",
14-
" - RABBITMQ_DEFAULT_USER=guest",
15-
" - RABBITMQ_DEFAULT_PASS=guest",
16-
" volumes:",
17-
" - rabbitmq-data:/var/lib/rabbitmq",
18-
" ports:",
19-
" - \"5672\""
20-
],
21-
"volumes": ["rabbitmq-data: {}"]
22-
},
238
"aliases": ["messenger"],
249
"conflict": {
2510
"symfony/framework-bundle": "<4.1"

symfony/messenger/4.3/manifest.json

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,10 @@
44
},
55
"env": {
66
"#1": "Choose one of the transports below",
7-
"#2": "MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages",
8-
"#3": "MESSENGER_TRANSPORT_DSN=doctrine://default",
7+
"#2": "MESSENGER_TRANSPORT_DSN=doctrine://default",
8+
"#3": "MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages",
99
"#4": "MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages"
1010
},
11-
"docker-compose": {
12-
"services": [
13-
"rabbitmq:",
14-
" image: rabbitmq:management-alpine",
15-
" environment:",
16-
" # You should definitely change the password in production",
17-
" - RABBITMQ_DEFAULT_USER=guest",
18-
" - RABBITMQ_DEFAULT_PASS=guest",
19-
" volumes:",
20-
" - rabbitmq-data:/var/lib/rabbitmq",
21-
" ports:",
22-
" - \"5672\""
23-
],
24-
"volumes": ["rabbitmq-data: {}"]
25-
},
2611
"aliases": ["messenger"],
2712
"conflict": {
2813
"symfony/framework-bundle": "<4.3"

0 commit comments

Comments
 (0)