- 8000:3000 mean internal called with port 3000 external called with port 8000
- .:/app mean if files in go-admin-backend folder has changed it will move to container folder called app (likes workdir)
- depends on mean will start something in depends on command first and then right after that it will start command that depends on in it
-
docker compose up
-
docker compose up --build
to run air(hot reload lib)
- run
docker compose exec backend sh
- then run
go run src/commands/seedUsers.go