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

service must be a mapping, not a NoneType. #41

Open
diaverso opened this issue Jun 7, 2023 · 2 comments
Open

service must be a mapping, not a NoneType. #41

diaverso opened this issue Jun 7, 2023 · 2 comments

Comments

@diaverso
Copy link

diaverso commented Jun 7, 2023

I have the interface of casaOS

I have created the file docker-compose.yml
with these parameters

`version: "3.9"
services:
kuma:
container_name: uptime-kuma
image: louislam/uptime-kuma:latest
ports:
- "3001:3001"
restart: always
volumes:
- uptime-kuma:/app/data

api:
container_name: backend
image: medaziz11/uptimekuma_restapi
volumes:
- ./db:/db:rwx
restart: always
environment:
- KUMA_SERVER=http://kuma:3001
- KUMA_USERNAME=test
- KUMA_PASSWORD=123test.
- ADMIN_PASSWORD=admin
depends_on:
- kuma
ports:
- "8000:8000"

volumes:
uptime-kuma:`

But when I put the command " sudo docker compose up"

I get this error

ERROR: In file './docker-compose.yml', service must be a mapping, not a NoneType.

@ojsef39
Copy link

ojsef39 commented Jun 19, 2023

same here

@markosole
Copy link

markosole commented Jul 3, 2023

Install latest version of docker and docker compose.

Then run: docker compose up instead of docker-compose up.

Cheers

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

3 participants