-
Notifications
You must be signed in to change notification settings - Fork 41
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
Add docker-compose.yml example file on your proyect. #13
Comments
Thank you. This was helpful for me. Also please note that in order to setup firebase user has to be set to root |
Thanks @demostenes1509 ! Following him up:
version: '3'
services:
app:
container_name: firebase
image: andreysenov/firebase-tools
user: node
#command: firebase emulators:start
command: tail -f /dev/null
ports:
- 4000:4000
- 5000:5000
- 5001:5001
- 8080:8080
- 8085:8085
- 9000:9000
- 9005:9005
- 9099:9099
- 9199:9199
volumes:
- ./app_dir:/home/node
volumes:
app_dir:
If so, the docker exits the container.
Yes, |
To authenticate firebase, open another terminal window, then
Copy the above URL, and open on your browser, and authenticate the firebase. After that, the firebase tools recognize successful automatically. |
------------------------ Fix / Update ------------------------ 🎊 🚀 ------------------------ Original ------------------------ Hello 👋 I have a docker-compose file very similar to the one described in this thread and I'm trying to run it in a github action. I am running into an error that I can't seem to figure out though.
Full github action / output:
Any ideas/suggestions? |
@nstanard still getting the same issue even after setting user: node |
Oops, sorry. I meant to type "user: root". I updated my comment. |
@nstanard thanks! trying right now edit: worked! thanks! |
...
...
firebase:
container_name: firebase
image: andreysenov/firebase-tools
user: node
# command: firebase emulators:start
command: tail -f /dev/null
ports:
- 9005:9005
- 9099:9099
- 9199:9199
- 5001:5001
- 5000:5000
- 8080:8080
- 8085:8085
- 9000:9000
- 3003:3003
volumes:
- irebase-volume:/home/node
...
...
...
In order to configure it, user should:
My congrats to your work
The text was updated successfully, but these errors were encountered: