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

compose fehler #1

Open
softwarecrash opened this issue May 3, 2024 · 0 comments
Open

compose fehler #1

softwarecrash opened this issue May 3, 2024 · 0 comments

Comments

@softwarecrash
Copy link
Collaborator

hier mal die test compose
-port 3000 frontend ist erreichbar sonst nichts

version: "3"
services:
  backend:
    image: ghcr.io/zusel/ccm-mgmt-backend:master
    ports:
      - "8080:8080"
    environment:
      SERVER_PORT: "8080"
      SERVER_ADDRESS: "127.0.0.1"
      MARIADB_DATABASE_NAME: "ccm_mgmt"
      MARIADB_HOST: "mariadb"
      MARIADB_PASSWORD: "example"
      MARIADB_PORT: "3306"
      MARIADB_USERNAME: "ccm_mgmt"
    depends_on:
      - mariadb

  frontend:
    image: ghcr.io/zusel/ccm-mgmt-frontend:master
    ports:
      - "3000:3000"
    depends_on:
      - backend
    environment:
      VITE_BACKEND_URL: "http://127.0.0.1"
      VITE_BACKEND_PORT: "8008"
      VITE_SERVER_PORT: "3000"

  mariadb:
    image: mariadb:10.6.17
    environment:
      MYSQL_DATABASE: "ccm_mgmt"
      MYSQL_USER: "ccm_mgmt"
      MYSQL_PASSWORD: "example"
      MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
    healthcheck:
      interval: 30s
      retries: 3
      test:
        [
          "CMD",
          "healthcheck.sh",
          "--su-mysql",
          "--connect",
          "--innodb_initialized"
        ]
      timeout: 30s
    volumes:
      - ./mount_point/mariadb:/var/lib/mysql

bei demversuch einen mitarbeiter anzulegen taucht zb nur das in der konsole auf


Uncaught (in promise) 
Object { stack: "b@http://10.2.40.6:3000/assets/VTextField-D1jQ4bEy.js:1:7241\nQr</<@http://10.2.40.6:3000/assets/VTextField-D1jQ4bEy.js:3:5713\nQr<@http://10.2.40.6:3000/assets/VTextField-D1jQ4bEy.js:3:3192\nit@http://10.2.40.6:3000/assets/VTextField-D1jQ4bEy.js:5:510\n_request@http://10.2.40.6:3000/assets/VTextField-D1jQ4bEy.js:6:1199\nrequest@http://10.2.40.6:3000/assets/VTextField-D1jQ4bEy.js:5:3013\nn/<@http://10.2.40.6:3000/assets/VTextField-D1jQ4bEy.js:6:1653\nwt/<@http://10.2.40.6:3000/assets/VTextField-D1jQ4bEy.js:1:2000\nsendRequest@http://10.2.40.6:3000/assets/VTextField-D1jQ4bEy.js:6:4823\nsendPostRequest@http://10.2.40.6:3000/assets/VTextField-D1jQ4bEy.js:6:5143\naddEmployee@http://10.2.40.6:3000/assets/AddEmployee-B95UP44b.js:1:626\nE/<.default</<.default</<.default</o[6]@http://10.2.40.6:3000/assets/AddEmployee-B95UP44b.js:1:2144\nJu/</<@http://10.2.40.6:3000/assets/index-COMbmqug.js:18:7540\n_t@http://10.2.40.6:3000/assets/index-COMbmqug.js:14:38\nBe@http://10.2.40.6:3000/assets/index-COMbmqug.js:14:…", message: "Unsupported protocol undefined:", name: "AxiosError", code: "ERR_BAD_REQUEST", config: {…} }
​
code: "ERR_BAD_REQUEST"
​
config: Object { timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", … }
​
message: "Unsupported protocol undefined:"
​
name: "AxiosError"
​
stack: "b@http://10.2.40.6:3000/assets/VTextField-D1jQ4bEy.js:1:7241\nQr</<@http://10.2.40.6:3000/assets/VTextField-D1jQ4bEy.js:3:5713\nQr<@http://10.2.40.6:3000/assets/VTextField-D1jQ4bEy.js:3:3192\nit@http://10.2.40.6:3000/assets/VTextField-D1jQ4bEy.js:5:510\n_request@http://10.2.40.6:3000/assets/VTextField-D1jQ4bEy.js:6:1199\nrequest@http://10.2.40.6:3000/assets/VTextField-D1jQ4bEy.js:5:3013\nn/<@http://10.2.40.6:3000/assets/VTextField-D1jQ4bEy.js:6:1653\nwt/<@http://10.2.40.6:3000/assets/VTextField-D1jQ4bEy.js:1:2000\nsendRequest@http://10.2.40.6:3000/assets/VTextField-D1jQ4bEy.js:6:4823\nsendPostRequest@http://10.2.40.6:3000/assets/VTextField-D1jQ4bEy.js:6:5143\naddEmployee@http://10.2.40.6:3000/assets/AddEmployee-B95UP44b.js:1:626\nE/<.default</<.default</<.default</o[6]@http://10.2.40.6:3000/assets/AddEmployee-B95UP44b.js:1:2144\nJu/</<@http://10.2.40.6:3000/assets/index-COMbmqug.js:18:7540\n_t@http://10.2.40.6:3000/assets/index-COMbmqug.js:14:38\nBe@http://10.2.40.6:3000/assets/index-COMbmqug.js:14:…"
​
<prototype>: Object { constructor: b(e, t, n, r, s), toJSON: toJSON(), stack: "", … }
VTextField-D1jQ4bEy.js:6:16
    request http://10.2.40.6:3000/assets/VTextField-D1jQ4bEy.js:6
    AsyncFunctionThrow self-hosted:856
    (Async: async)
    n http://10.2.40.6:3000/assets/VTextField-D1jQ4bEy.js:6
    wt http://10.2.40.6:3000/assets/VTextField-D1jQ4bEy.js:1
    sendRequest http://10.2.40.6:3000/assets/VTextField-D1jQ4bEy.js:6
    sendPostRequest http://10.2.40.6:3000/assets/VTextField-D1jQ4bEy.js:6
    addEmployee http://10.2.40.6:3000/assets/AddEmployee-B95UP44b.js:1
    6 http://10.2.40.6:3000/assets/AddEmployee-B95UP44b.js:1
    Ju http://10.2.40.6:3000/assets/index-COMbmqug.js:18
    _t http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    Be http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    Be http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    n http://10.2.40.6:3000/assets/index-COMbmqug.js:18
    (Async: EventListener.handleEvent)
    Vt http://10.2.40.6:3000/assets/index-COMbmqug.js:18
    zu http://10.2.40.6:3000/assets/index-COMbmqug.js:18
    ef http://10.2.40.6:3000/assets/index-COMbmqug.js:18
    C http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    S http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    y http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    x http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    run http://10.2.40.6:3000/assets/index-COMbmqug.js:10
    update http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    re http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    ue http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    Z http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    y http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    D http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    C http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    S http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    y http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    x http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    run http://10.2.40.6:3000/assets/index-COMbmqug.js:10
    update http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    re http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    ue http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    Z http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    y http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    D http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    C http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    S http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    y http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    x http://10.2.40.6:3000/assets/index-COMbmqug.js:14
    run http://10.2.40.6:3000/assets/index-COMbmqug.js:10

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