mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
feat(wip): docker ui only
This commit is contained in:
parent
c62fd25b2e
commit
d4a4ed1e1c
43 changed files with 1269 additions and 372 deletions
|
@ -7,6 +7,7 @@ services:
|
|||
- ../..:/workspaces:cached
|
||||
- ./go-path:/root/go
|
||||
- ./data/nginx:/etc/nginx
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
command: sleep infinity
|
||||
environment:
|
||||
- NGINX_UI_CERT_CA_DIR=https://pebble:14000/dir
|
||||
|
@ -25,6 +26,28 @@ services:
|
|||
- nginx-ui
|
||||
networks:
|
||||
nginxui:
|
||||
nginx-ui-3:
|
||||
image: nginx-ui-dev
|
||||
container_name: nginx-ui-3
|
||||
volumes:
|
||||
- ../..:/workspaces:cached
|
||||
- ./data/nginx-ui-3/nginx:/etc/nginx
|
||||
- ./data/nginx-ui-3/nginx-ui:/etc/nginx-ui
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
working_dir: /workspaces/nginx-ui
|
||||
command: ./.devcontainer/node-supervisor.sh
|
||||
depends_on:
|
||||
- nginx-ui
|
||||
networks:
|
||||
nginxui:
|
||||
nginx:
|
||||
image: nginx-ui-dev
|
||||
container_name: nginx
|
||||
volumes:
|
||||
- ./data/nginx-ui-3/nginx:/etc/nginx
|
||||
command: sleep infinity
|
||||
networks:
|
||||
nginxui:
|
||||
pebble:
|
||||
image: ghcr.io/letsencrypt/pebble:latest
|
||||
volumes:
|
||||
|
|
|
@ -6,4 +6,4 @@ if [ "$(ls -A /etc/nginx)" = "" ]; then
|
|||
fi
|
||||
|
||||
# start nginx
|
||||
nginx -g "daemon off;"
|
||||
nginx
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# install air
|
||||
go install github.com/air-verse/air@latest
|
||||
|
||||
# install zsh-autosuggestions
|
||||
install zsh-autosuggestions
|
||||
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
|
||||
|
||||
if ! grep -q "zsh-autosuggestions" ~/.zshrc; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue