Skip to content

Commit

Permalink
Add dynamic compose for getashell (#6112)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lancelot-Enguerrand authored Dec 23, 2024
1 parent ef74735 commit 025b7cd
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/getashell/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"name": "Get A Shell",
"available": true,
"exposable": true,
"dynamic_config": true,
"port": 8281,
"id": "getashell",
"tipi_version": 12,
"tipi_version": 13,
"version": "1.1.3",
"categories": ["utilities"],
"description": "Simple web ui to create ssh shells for testing.",
Expand Down Expand Up @@ -34,5 +35,5 @@
],
"supported_architectures": ["arm64", "amd64"],
"created_at": 1691943801422,
"updated_at": 1725904870000
"updated_at": 1734908260001
}
27 changes: 27 additions & 0 deletions apps/getashell/docker-compose.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"services": [
{
"name": "getashell",
"image": "ghcr.io/steveiliop56/getashell:v1.1.3",
"isMain": true,
"internalPort": 3000,
"extraHosts": ["host.docker.internal:host-gateway"],
"environment": {
"USERNAME": "${GETASHELL_USERNAME}",
"PASSWORD": "${GETASHELL_PASSWORD}",
"SECRET_KEY": "${GETASHELL_SECRET_KEY}"
},
"volumes": [
{
"hostPath": "${APP_DATA_DIR}/data/",
"containerPath": "/app/data"
},
{
"hostPath": "/var/run/docker.sock",
"containerPath": "/var/run/docker.sock",
"readOnly": true
}
]
}
]
}

0 comments on commit 025b7cd

Please sign in to comment.