Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue on step 33 #75

Open
Vanylson opened this issue Jan 25, 2023 · 0 comments
Open

Issue on step 33 #75

Vanylson opened this issue Jan 25, 2023 · 0 comments

Comments

@Vanylson
Copy link

On step 33 I'm getting a syntax error from the yaml code.


version: '3'
services:
  redis-server:
    image: 'redis'
  node-app:
    restart: always
    build: .
    ports:
      - "8080:8080"

## app.js
const client = redis.createClient({
  // add docker images
  host: 'redis-server',
  // default redis-server
  port: 6379
});

This is the output from executing the yaml file


[user@localhost Compose]$ sudo docker compose up -d
yaml: line 14: could not find expected ':'

Thank you for your time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant