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

Missing fields in backend config.json, missing shell in manually created docker #19

Open
gwhizoftv opened this issue Nov 9, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@gwhizoftv
Copy link

Describe the bug
We need more fields in config.json when deploying from source, creating the docker and running the backend, folliowng this guide:
https://appbuilder-docs.agora.io/turn-key/guides/Backend/Deploy-from-Source

To Reproduce

  1. See existing config.json in the repo. These are missing:
  2. "POSTGRES_USER":"yourpgadmin",
    "POSTGRES_PASSWORD":"youpgpasswd",
    "POSTGRES_DB":"yourdbname",
    "LOG_LEVEL":"DEBUG"

Expected behavior
We should see these fields

Environment (please complete the following information):

  • Deployment Method Source->docker
  • Go Version We cannot access the running docker to run go version. Dockerfile says:
    FROM golang:1.15.1 as build-env

Additional context
There doesn't seem to be a shell within the docker image.
All these fail:
464 docker exec -it server bash
465 docker exec -it server sh
466 docker exec -it server /usr/local/bin/sh
467 docker exec -it server /usr/local/bin/bash
468 docker exec -it server /srv/bash
469 docker exec -it server /usr/bin/env sh
470 docker exec -it server /usr/bin sh
471 docker exec -it server /usr/bin bash
472 docker exec -it server bash
473 docker exec -it server zsh

Backtrace

<backtrace>

@gwhizoftv gwhizoftv added the bug Something isn't working label Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants