Giter Site home page Giter Site logo

sfx101 / deck Goto Github PK

View Code? Open in Web Editor NEW
1.5K 32.0 70.0 25.39 MB

DECK is a powerful and high performant local web development studio, an open source alternative to Docker desktop

Home Page: https://github.com/deck-app

License: GNU Affero General Public License v3.0

Shell 0.25% JavaScript 22.75% CSS 1.34% HTML 0.13% Batchfile 0.06% Svelte 75.47%
laradock laradock-gui laravel docker docker-compose containers lamp-stack lemp-stack deck stack

deck's People

Contributors

austinginder avatar nabad600 avatar nebula-byte avatar sfx101 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deck's Issues

Support for other Linux distros

In #43, support was requested for Fedora.

What needs to be done to support other distros?

How can I contribute?

I am thinking of a Universal package like an AppImage or a Snap package.

How do we get this done ASAP?

Please submit releases to chocolatey

Basically the title so I'm going to rant a bit about Windows here.

It's insane that windows still requires its users to just surf the web, visit some page, download and then run a potentially malicious file in the hopes that its what they think it is.

Life is better with a package manager.

https://chocolatey.org/

[REQUEST] Support for installing in Fedora

It would be nice to be able to install Deck in Fedora as well. I'm guessing that, having already a distribution for Ubuntu, it wouldn't be a difficult task to support Fedora, or maybe distributing a snap pack too.

Domain stacks.run not running

Hello,
i'm new to Deck.

I just downloaded v3.0 on my MacOS Monterey and installed Docker and Deck following your documentation. I'm now running both Docker and Deck and i'm pulling some images for testing.

I'm trying Wordpress and LAMP. They install correctly, i can reach projects and services (phpmyadmin and mysql) with localhost:port address but i can't reach them with stacks.run domain.

I have Deck listening on port 80 and 443 (see attachment).

Maybe am i missing something on installation or configuration ?

Schermata 2021-11-03 alle 20 04 16

Load image from docker hub or local

It would be great to be able to pull any image from docker hub or local storage using this tool. As a self-hoster there are many things I want to do with containers that are not listed in your shop.

Black screen on Ubuntu

Hello! I'm trying to install Deck on a fresh ubuntu but when I launch it shows only a black screen.

image

If I run it from the terminal, the result is this:

~ deck
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
APPIMAGE env is not defined, current application is not an AppImage

I'm new to linux environment, so I'm not really sure how to report or create this issue.
I installed it using the recommended terminal command following the documentation here: Ubuntu | DECK

System information:

~ screenfetch -n
 lucas@UBUNTU-LUCAS
 OS: Ubuntu 22.04 jammy
 Kernel: x86_64 Linux 5.15.0-25-generic
 Uptime: 1h 16m
 Packages: 1743
 Shell: zsh 5.8.1
 Resolution: 6400x1440
 DE: GNOME 41.4
 WM: Mutter
 WM Theme: Adwaita
 GTK Theme: Yaru [GTK2/3]
 Icon Theme: Yaru
 Font: Ubuntu 11
 Disk: 301G / 899G (35%)
 CPU: Intel Core i5-9600K @ 6x 4,6GHz [41.0°C]
 GPU: NVIDIA GeForce RTX 2070 SUPER
 RAM: 4558MiB / 31968MiB

Thank you!

Grant Full Disk Access to "nfsd"

Hi there,

i followed these instructions:

Bildschirm­foto 2022-09-18 um 13 05 29

I restarted my macOS system but still no luck. This comes every time i want to save a new Project.

Half of HTTP requests on custom domain fails (502)

Hey,

I was trying out your software and loved it so far. Thank you for contributing to the Open Source space.

I got an issue when trying to use an existing laravel project (that otherwise works on our custom Docker env's).
Basically, half the http requests fail (HTTP 502 - Bad Gateway). We make use of Laravel's asset() method to display images and other assets; and it's not resolving correctly when setting the APP_URL env to the custom stacks.run domain.

image

I also get the "ECONNREFUSED" error 1/2 requests.
image

Might this be because the stacks.run domain exists online?
Anyway, great product, but currently not usable for us because of the unstability 😞

404 Error when creating project with Nginx

Creating a new Laravel Project,
Selected Laravel 8 /Nginx / Php 7.4
Selected an empty folder.
The project gets created, starts well,
But when browsing the project (testnginx.stacks.run) I get a 404 error.

(BTW, the logs shows incoming traffic when browser hits the page !)

.env changing and build

Hi, I have a question.

I created a new stack -> works (i.e PHP 7.4)

This is under ~/.docker-stacks/stacks/suspicious-visvesvaraya8

in this folder are 2 files: .env and docker-compose.yml

I want to edit this file .env changing for example

PHP_VERSION=7.3
WORKSPACE_INSTALL_NODE=true

How can apply these changes??

Because composer is not installed although although WORKSPACE_COMPOSER_GLOBAL_INSTALL=true in .env file under the stack folder ~/.docker-stacks/stacks/suspicious-visvesvaraya8

Thank you.

Regards,

Keyner.

No Connection could be made because the target machine refused it

I've just installed Deck on a Windows 11 laptop and tried starting a new project and this error is preventing any start.
I saw a closed issue with the same problem but my WSL is not including the deck-app

NAME STATE VERSION

  • docker-desktop Running 2
    docker-desktop-data Running 2
    Ubuntu-18.04 Stopped 2

but looks like this instead.

Any help appreciated.

[REQUEST] Custom Images

Ability to have your own custom images, ability to import into DECK your own application and create it like you want.

Slash in PHP variables are transformed to backslash

Hi, I'm trying to install opencart but all the routes are broken because they are replaced / on
I'm trying on my project also on clean from the stack but the error is the same.
I tried to find a solution but it's beyond me.

Support for non-Debian Linux

I want to try out this app, but unfortunately I can't since I use Fedora Linux. It'd be great if Deck was installable via an AppImage or Flatpak instead of just as a .deb package, which only works on Debian and Ubuntu based distributions.

Create new stack/image

Hi there,

Thanks for creating this beautiful tool to make my life easier.

I would like to create a Memcached stack and attach to the existing lnmp stack, is it possible? if so, how could I do it?

Thanks again for your effort
Cheers

[REQUEST] A few stacks that could be fun to have.

Since I'm not sure specifically what these stacks would be called in every case or how familiar anyone reading is with any of these things I'll just link them and generally explain why that would be handy to have.

https://github.com/linnovate/mean#!/ (A decent looking Node stack)
https://quasar.dev/ (This is another very interesting Node stack)
https://pushover.net/ (This could be useful as both a "Stack" service/daemon type thing as well as directly integrated into DECK for notification capabilities across all the Stacks as a system notification monitor and likely other things)
https://www.drone.io/ (This seems quite useful in general as a stack. Some kind of inception thing essentially)
https://codepilot.ai (I really can't figure out if this has been picked apart or is still a functional thing. It does look pretty handy though if it could be made to work)
https://www.totaljs.com/ (A complete stack of this entire platform along with the apps he offers would be quite nice too I think)
https://www.knime.com/ (A Linux flavored stack for Knime could be nice to have a quick build of. This is useful for remote, headless, server-style usage of node-graphs made in any Knime installation elsewhere.)
https://nodered.org/ (This would be a nice one as well)
https://quarkus.io/ (This could be quite fun to play with)
https://www.graalvm.org/ (This one built the last one so it could be just as fun if not more)
https://charge.js.org/ (This would be nice and could also pair nicely with some of the other stacks as well probably)

Also, some other thoughts, notes, and questions since I'm throwing such things around already:

Was this latest version (3.0.0) intended for windows 10 only?
I ask cause I'm using windows 7 and it seems fine so far...mostly.
I do have to keep using the Reload menu item for things to update, and the Power off & Destroy option never seems to do anything despite an overlay popping up suggesting it does. Also, about half of the Stacks in the marketplace seem to have no description in the market view and some don't in the app popup either (portainer at least).

There seems to be no copy/paste option in the terminal window/page area. Also, Ctrl+V doesn't work and there's no right-click menu. I'm really not sure if that is a bug on my end or if it's normal so I thought I would mention it. Perhaps there could be some option to link an external terminal editor of our choice? It could be opened when selecting the terminal instead for increased functionality when needed such as that offered by (https://ohmyz.sh/) or (https://extraterm.org/) along with many others

It could be helpful if your automatic HTTPS feature were able to handle Handshake TLDs. I haven't tried them yet but I'm guessing probably not based on what this guy had to make for setting them up. Likely I can find a way to make his tool work but a native solution could be nice too and there are a few million Handshake TLDs now so supporting all those new devs would be useful possibly? Also, since this is a local dev-specific tool it would pair nicely with these TLDs when using a local wallet that can have the TLD itself stored locally. This would allow for direct programmatic access to the TLD (specifically its DNS records), and the app or ecosystem of apps running on it. Could be cool.

Also, the UI in the gifs all over the site for the 4.0.0 version looks nice 👍

Ok, that should be plenty for now I think :)

Nginx + PHP new files are created as root

Hello,
The nginx service is running with the nobody user but the commands you execute from the Deck console are with root user. For example "composer install" so the vendor directory is with root permissions.

I can not execute "composer install" from my computer because the php version is different. Can you modify to execute with the nobody user or at leas run the nginx service and the console shell with the same user and sync with the USER_ID.

image

Thank you.

Instructions for Linux ?

I didn't find anything in the documentation except install for Mac. Can someone point me to instructions how to run it on Linux ?

Proxy server converting slashes in query parameters

Hi! 👋

I just started messing around with this on a new Windows 11 setup and quickly ran into an issue with the proxy server. When using stacks.run any forward slashes (/) in query parameters somehow get converted to backslashes (\\). As a result, phpMyAdmin is throwing 404s all over the place. When I connect directly to the container port this doesn't happen.

stacks.run –

"POST /index.php?route=\\config\\get HTTP/1.1" 404
"POST /index.php?route=\\navigation&ajax_request=1 HTTP/1.1" 404
"POST /index.php?route=\\config\\get HTTP/1.1" 404

localhost –

"POST /index.php?route=/config/get HTTP/1.1" 200
"POST /index.php?route=/navigation&ajax_request=1 HTTP/1.1" 200
"POST /index.php?route=/config/get HTTP/1.1" 200

Perhaps a configuration issue on my part or just a case of accidentally using path.sep in the wrong place?

Permission denied when trying to run MySQL

Hi,

After installing MySQL and launching it, i get this error :

ERROR: for mysql_phpmyadmin_1  Cannot start service phpmyadmin: OCI runtime create failed: container_linux.go:367: starting container process caused: exec: "/entrypoint.sh": permission denied: unknown

I work on Mac and tried to add permission via the preferences but didn't work.

How could i fix that ?

Thx

Shell is working weirdly.

Hi, I found this project in Dev.to!

and I started using Deck app! It looks neat.
and I am trying to use Nodejs shell in the app. but I found this bug.
When I open the Node Shell via Deck app, the focus is placed inappropriately (the issue is the image below)

image

Not work in MacOS

I'm in MacOS Catalina V.10.15.7 . I downloaded and installed Deck V.2.0.0 and gave it permission in preferences. After open the Application I can't do anything, no option works, all blank.

Screen Shot 2020-11-11 at 16 46 41

DNS Issue

None of my stacks are working when using the pretty domain .stacks.run, only 127.0.0.1:****

Problem on macOS

Hi, I'm in macOS Catalina (10.15.7) and my initial install is stuck on 'Installation has finished'. Can you help me to troubleshoot this?

Screenshot:
Screen Shot 2022-03-22 at 12 02 26

LAMP Stack with PHP 8.1

Hello,

I just installed DECK, it looks awesome, thanks for making this! I just set up a LAMP stack but can only select PHP up to 8, but my project requires PHP 8.1, how do I add or select it?

Thanks!

Best
Jay

Folder belongs to wrong user

Hi
I installed DECK in Ubuntu 22.04
Created a new project (Laravel 8 / Apache), and created a new empty folder from the "select folder" dialog.
The created folder belongs to user systemd-network / group systemd-journal.
That makes difficult to edit files ;)

Unable to add existing Laravel projects

The description of the project path indicates the possibility of adding existing project paths. But whenever I set the project path to an existing folder with a Laravel project, it returns the error "The selected project path is not empty, select an empty path."

Problem with the MariaDB container, crashes because of the authentication

Hi, thanks a lot!

However, I have a small problem with the MariaDB container, which crashes because of the authentication.

Platform : W10
Use WSL 2 Based engine : No
Docker 4.1.1 (latest) (use Docker Compose V1)

Logs:

mariadb 10:23:35.28
mariadb 10:23:35.28 Welcome to the Bitnami mariadb container
mariadb 10:23:35.28 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-mariadb
mariadb 10:23:35.29 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-mariadb/issues
mariadb 10:23:35.29
mariadb 10:23:35.29 INFO ==> ** Starting MariaDB setup **
mariadb 10:23:35.30 INFO ==> Validating settings in MYSQL_/MARIADB_ env vars
mariadb 10:23:35.31 WARN ==> You set the environment variable ALLOW_EMPTY_PASSWORD=yes. For safety reasons, do not use this flag in a production environment.
mariadb 10:23:35.31 INFO ==> Initializing mariadb database
mariadb 10:23:35.32 INFO ==> Updating 'my.cnf' with custom configuration
mariadb 10:23:35.32 INFO ==> Setting user option
mariadb 10:23:35.33 INFO ==> Installing database
mariadb 10:23:37.48 INFO ==> Starting mariadb in background
mariadb 10:23:39.49 INFO ==> Configuring authentication
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
mariadb 10:23:39.52 INFO ==> Stopping mariadb

If I set ALLOW_EMPTY_PASSWORD to : false through DECK .env

mariadb 10:28:51.41 INFO ==> ** Starting MariaDB setup **
mariadb 10:28:51.43 INFO ==> Validating settings in MYSQL_/MARIADB_ env vars
mariadb 10:28:51.43 WARN ==> You set the environment variable ALLOW_EMPTY_PASSWORD=yes. For safety reasons, do not use this flag in a production environment.
mariadb 10:28:51.43 INFO ==> Initializing mariadb database
mariadb 10:28:51.44 INFO ==> Updating 'my.cnf' with custom configuration
mariadb 10:28:51.45 INFO ==> Setting user option
mariadb 10:28:51.45 INFO ==> Using persisted data
mariadb 10:28:51.47 INFO ==> Running mysql_upgrade
mariadb 10:28:51.47 INFO ==> Starting mariadb in background
mariadb 10:28:53.49 INFO ==> Stopping mariadb

When editing directly, the environments in the .docker-stacks/docker-compose.yml : (removed ALLOW_EMPTY_PASSWORD)
But is saying MARIADB_ROOT_PASSWORD is empty or not set. That seem to be true. (in .env of DECK i have DB_PASSWORD and not MARIADB_ROOT_PASSWORD) but when adding MARIADB_ROOT_PASSWORD to .env is thrown the same error

mariadb 10:30:37.10 INFO ==> ** Starting MariaDB setup **
mariadb 10:30:37.11 INFO ==> Validating settings in MYSQL_/MARIADB_ env vars
mariadb 10:30:37.11 ERROR ==> The MARIADB_ROOT_PASSWORD environment variable is empty or not set. Set the environment variable ALLOW_EMPTY_PASSWORD=yes to allow the container to be started with blank passwords. This is recommended only for development.

Originally posted by @TheoD02 in #26 (comment)

[REQUEST] Add Solidity stack

Hey, love deck, been using it for all my php stuff. Starting to get into some Ethereum stuff now, is it possible to have a Solidity stack?

Can not create Laravel stack on macOS

I'm on macOS Big Sur v11.2.3.

Downloaded dmg file and installed v3.0.0 of the app.
.docker-stacks directory is created in my ~.
I select Laravel to add to deck, fill in the info and click "Save and deploy".
"Configure and deploy stack" modal stays open, the button is disabled, but nothing else happens.
Directory named as project is created in ~/.docker-stacks/apps.
~/.docker-stacks/stacks.json contains only empty array.
Screenshots are provided.

Screenshot 2021-04-03 at 00 54 58

Screenshot 2021-04-03 at 00 55 11

Screenshot 2021-04-03 at 00 55 50

Screenshot 2021-04-03 at 00 55 55

Screenshot 2021-04-03 at 00 57 40

[Request] IONIC

Hi,

Can you please add IONIC with cordova or capacitor with Androdi SDK..

Invalid certificate

Hi,

I started using this app a while ago, I'm wondering is it still under active development ?
The certificate used to serve the stacks seems to have expired.

Is it possible to change the domain/certificate the stacks are running on ?

Thanks

WSL is not enabled

Hi,
I´ve installed DECK in Windows and says that WSL is not enabled.
I already had WSL2 and a couple of distros.

image

Am I missing a step to do?

Thank you!

ubuntu error install

i was trying to install laravel or mysql both got this error

Use "docker scan' to run Snyk tests against images to find vulnerabilities and learn hon to fix then

network deck-app declared as external, but could not be found

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.