-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Description
I tried setting up GatewayD using Docker Compose, but ran into some issues in the docker-compose.yml file.
- The
install_pluginsservice in thedocker-compose.ymlrelies on asetup.shfile. If theGATEWAYD_VERSIONvariable isn't set, it requires agitcommand to function properly in the first command(The installation of git now occurs later in that file). Otherwise, it encounters errors such as:
2024-05-21 22:29:21 /setup.sh: line 10: git: not found
2024-05-21 22:29:22 % Total % Received % Xferd Average Speed Time Time Time Current
2024-05-21 22:29:22 Dload Upload Total Spent Left Speed
100 9 100 9 0 0 30 0 --:--:-- --:--:-- --:--:-- 30
2024-05-21 22:29:22 tar: invalid magic
2024-05-21 22:29:22 tar: short read
-
Also, the
setup.shscript only knows how to install the GatewayD version forAMD64computers. But I'm usingARM64, so it's a no-go. It'd be nice if the script could figure out what kind of computer I'm on and download the right stuff. -
When the
install_plugins service doesn't work, Docker just draws info and says it's "Exited." It'd be way cooler if it could tell me it failed.
Containergatewayd-install_plugins-1Exited but itfailed
╰─ docker-compose up -d
[+] Running 4/5
⠼ Network gatewayd_default Created 6.5s
✔ Container gatewayd-postgres-1 Healthy 6.3s
✔ Container gatewayd-install_plugins-1 Exited 0.8s
✔ Container gatewayd-redis-1 Healthy 5.8s
✔ Container gatewayd-gatewayd-1 Started
╰─ gatewayd-install_plugins-1 container log:
2024-05-21 22:29:21 /setup.sh: line 10: git: not found
Expected Behavior
The install_plugins service in docker-compose.yaml file should successfully install the necessary components without errors.
Current Behavior
The install_plugins service fails with the aforementioned errors
Steps to Reproduce
- Clone the repository and navigate to the directory containing the docker-compose.yml file.
- Execute docker-compose up -d (without setting
GATEWAYD_VERSION)
Context
- Operating System and architecture: Darwin - arm64
- GatewayD version: latest (v0.9.5)
- Plugins' versions: gatewayd-plugin-cache latest (v0.3.6)
- Other relevant information: all default configurations without changing any parameters
mostafa
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
🎉 Done