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

Review the output using docker option #288

Open
xmnlab opened this issue May 14, 2024 · 0 comments
Open

Review the output using docker option #288

xmnlab opened this issue May 14, 2024 · 0 comments

Comments

@xmnlab
Copy link
Contributor

xmnlab commented May 14, 2024

Using the docker option, it raises an error with the content of the compose.yaml file

containers/compose.yaml
[error] containers/compose.yaml: SyntaxError: Map keys must be unique; "volumes" is repeated (5:5)
[error]    3 | services:
[error]    4 |   web:
[error] >  5 |     build: .
[error]      |     ^^^^^^^^
[error] >  6 |     ports:
[error]      | ^^^^^^^^^^
[error] >  7 |       - "5000:5000"
[error]      | ^^^^^^^^^^
[error] >  8 |     volumes:
[error]      | ^^^^^^^^^^
[error] >  9 |       - .:/code
[error]      | ^^^^^^^^^^
[error] > 10 |
[error]      | ^^^^^^^^^^
[error] > 11 |     postgres-db:
[error]      | ^^^^^^^^^^
[error] > 12 |     image: postgres
[error]      | ^^^^^^^^^^
[error] > 13 |     environment:
[error]      | ^^^^^^^^^^
[error] > 14 |       POSTGRES_USER: ${POSTGRES_USER}
[error]      | ^^^^^^^^^^
[error] > 15 |       POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
[error]      | ^^^^^^^^^^
[error] > 16 |     volumes:
[error]      | ^^^^^^^^^^
[error] > 17 |       - ./tmp/db:/var/lib/postgresql/data
[error]      | ^^^^^^^^^^
[error] > 18 |
[error]      | ^
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