Skip to content

Commit 1c2e1a3

Browse files
authored
Merge pull request #21429 from SethFalco/patch-3
docs(localstack): fix formatting of code block
2 parents 0c0ea25 + 7459172 commit 1c2e1a3

File tree

1 file changed

+41
-41
lines changed

1 file changed

+41
-41
lines changed

content/guides/localstack.md

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -224,47 +224,47 @@ Now that you have learnt how to connect a non-containerized Node.js application
224224

225225
```yaml
226226
services:
227-
backend:
228-
build:
229-
context: ./backend
230-
dockerfile: Dockerfile
231-
ports:
232-
- 5000:5000
233-
depends_on:
234-
- localstack
235-
- mongodb
236-
env_file:
237-
- backend/.env
238-
239-
frontend:
240-
build:
241-
context: ./frontend
242-
dockerfile: Dockerfile
243-
ports:
244-
- 5173:5173
245-
depends_on:
246-
- backend
247-
environment:
248-
- REACT_APP_API_URL=http://backend:5000/api
249-
250-
mongodb:
251-
image: mongo
252-
container_name: mongodb
253-
volumes:
254-
- mongodbdata:/data/db
255-
ports:
256-
- 27017:27017
257-
258-
localstack:
259-
image: localstack/localstack
260-
container_name: localstack
261-
ports:
262-
- 4566:4566
263-
environment:
264-
- SERVICES=s3
265-
- GATEWAY_LISTEN=0.0.0.0:4566
266-
volumes:
267-
- ./localstack:/docker-entrypoint-initaws.d"
227+
backend:
228+
build:
229+
context: ./backend
230+
dockerfile: Dockerfile
231+
ports:
232+
- 5000:5000
233+
depends_on:
234+
- localstack
235+
- mongodb
236+
env_file:
237+
- backend/.env
238+
239+
frontend:
240+
build:
241+
context: ./frontend
242+
dockerfile: Dockerfile
243+
ports:
244+
- 5173:5173
245+
depends_on:
246+
- backend
247+
environment:
248+
- REACT_APP_API_URL=http://backend:5000/api
249+
250+
mongodb:
251+
image: mongo
252+
container_name: mongodb
253+
volumes:
254+
- mongodbdata:/data/db
255+
ports:
256+
- 27017:27017
257+
258+
localstack:
259+
image: localstack/localstack
260+
container_name: localstack
261+
ports:
262+
- 4566:4566
263+
environment:
264+
- SERVICES=s3
265+
- GATEWAY_LISTEN=0.0.0.0:4566
266+
volumes:
267+
- ./localstack:/docker-entrypoint-initaws.d"
268268

269269
volumes:
270270
mongodbdata:

0 commit comments

Comments
 (0)