Replies: 58 comments 27 replies
-
Hi! Very odd you're using Ubuntu, but are you using an arm device like a raspberry Pi? I'm unsure as to why it's looking for an arm64/V8, which it's currently not supported for - as seen here https://github.com/PhlexPlexico/G5V/pkgs/container/g5v I can try and get it compiled with that architecture, but I believe I was running into some problems previously. Thanks! |
Beta Was this translation helpful? Give feedback.
-
yes, i make my test on freebox server |
Beta Was this translation helpful? Give feedback.
-
That may be why then! That being said, I think the API may have troubles compiling since bcrypt has to be compiled during build... Maybe I'll try adding it, but I can't guarantee it'll work on that arch! |
Beta Was this translation helpful? Give feedback.
-
i can try on my prod server but i have one question, is a problem to have caddy on same server of nginx ? i have a server with nginx / mariadb / pterodactyl. |
Beta Was this translation helpful? Give feedback.
-
It shouldn't be an issue! All you have to change in the docker compose is the port and forward requests from NGINX -> Caddy. So in the docker-compose just change the ports under the ports:
- "9000:80" And on your NGINX you have to find what the IP address and do the forwarding with the reverse proxy and whatnot - so you can probably convert this Caddy setup to Nginx: get5.phlexplexi.co {
reverse_proxy 172.18.0.5
request_body {
max_size 256MB
}
route /api/* {
uri strip_prefix /api
reverse_proxy http://172.18.0.4:3301
}
} Where the 172... addresses are from Docker, using something like the following - docker container inspect G5API | grep -i IPAddress
docker container inspect G5V-Front-End | grep -i IPAddress If mariadb is using the default SQL port, you'll just have to adjust that in your docker-compose as well :) TL;DR just setup Nginx as your reverse proxy and adjust ports as necessary! E: If you wait though, I'll see if I can get that arm build up and running as well. |
Beta Was this translation helpful? Give feedback.
-
Thanks you, i check this weekend. |
Beta Was this translation helpful? Give feedback.
-
Another thing, in your docker-compose for G5V and G5API, would you mind trying to add g5v:
image: ghcr.io/phlexplexico/g5v:latest
depends_on:
- g5api
- caddy
container_name: G5V-Front-End
restart: always
platform: linux/amd64
networks:
- get5 and then try running it? See what happens? Thanks! |
Beta Was this translation helpful? Give feedback.
-
I try after eat and I you say
…_________________________
Alexis Zaun
Technicien SAV Nord Est
FOM Industrie FRANCE
***@***.******@***.***>
(+33) 06 40 62 82 45
________________________________
From: PhlexPlexico ***@***.***>
Sent: Tuesday, April 26, 2022 7:14:24 PM
To: PhlexPlexico/G5V ***@***.***>
Cc: Iwhite67 ***@***.***>; Author ***@***.***>
Subject: Re: [PhlexPlexico/G5V] No matching Manifest Docker Compose (Issue #131)
Another thing, in your docker-compose for G5V and G5API, would you mind trying to add platform: linux/amd64? For example:
g5v:
image: ghcr.io/phlexplexico/g5v:latest
depends_on:
- g5api
- caddy
container_name: G5V-Front-End
restart: always
platform: linux/amd64
networks:
- get5
and then try running it? See what happens?
Thanks!
—
Reply to this email directly, view it on GitHub<#131 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACJ75FCHGHHNQ43UTYSJIQLVHAP7BANCNFSM5UMOR4GQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hmm you may have to bump the Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
fix |
Beta Was this translation helpful? Give feedback.
-
so, i have website but problem with API when i click on sign in
|
Beta Was this translation helpful? Give feedback.
-
This should do nothing. As you can see in the repo, there is a file named
As for this, the database is on the wrong port. You changed the port of the database instance so this needs to change as well
Per the wiki - the location for the API block should be as follows:
I think the same should be done for the front-end as well.
Since you're not using the reverse proxy, you can remove that caddy image entirely and it shouldn't cause any issues. |
Beta Was this translation helpful? Give feedback.
-
strange, i running on last image
i have allready a mariadb who running on 3306, i change the port of get5db to 3307:3306
if i remove caddy, i lost the access, but if i keep caddy, i have access |
Beta Was this translation helpful? Give feedback.
-
It should have a log still when trying to request it... Oh actually that may be a try_files issue... Can you open your web console and check the network tab? And in your NGINX conf under |
Beta Was this translation helpful? Give feedback.
-
DevTools failed to load source map: Could not parse content for http://match.cs.white-gaming.fr/js/277.ae7d1617.js.map: Unexpected token < in JSON at position 0 |
Beta Was this translation helpful? Give feedback.
-
Hmm that's fine, could you try navigating to |
Beta Was this translation helpful? Give feedback.
-
no username |
Beta Was this translation helpful? Give feedback.
-
i put Iwhite in username, Teams is loading now |
Beta Was this translation helpful? Give feedback.
-
Okay so if the /api/ call still isn't working, can you paste in your NGINX config again if you don't mind? Thanks! |
Beta Was this translation helpful? Give feedback.
-
with iwhite into username, is good but before, username are empty |
Beta Was this translation helpful? Give feedback.
-
Uhh you shouldn't put it in username because you don't want to use a local login if you're signing in through steam... Technically anyone could login with a blank password for your username then I think. |
Beta Was this translation helpful? Give feedback.
-
ok, so this is good, is working, steam has return and put into sql, i create manualy a team in sql and i can see only actualy, the problem is, i can't connect |
Beta Was this translation helpful? Give feedback.
-
Yeah, that would mean the API requests are still not working on the reverse proxy. Would you mind showing that NGINX config again, and see if we can spot anything off? Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
And sorry, going to something like Thanks! |
Beta Was this translation helpful? Give feedback.
-
And is there any logs on the API that's making calls to that? If not, that may be the issue. Also, I'm just going to move this to a discussion since it may be easier to talk and less clog on an issue :) |
Beta Was this translation helpful? Give feedback.
-
Hello, i use your docker-compose.yml and when i make docker-compose up, i have this error
i'm on Ubuntu 20.04
Pulling g5api (ghcr.io/phlexplexico/g5api:latest)... latest: Pulling from phlexplexico/g5api ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries
Beta Was this translation helpful? Give feedback.
All reactions