mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 18:35:51 +02:00
feat: use devconatiner
This commit is contained in:
parent
68a425b3d3
commit
00f4855dce
25 changed files with 520 additions and 119 deletions
41
.devcontainer/docker-compose.yml
Normal file
41
.devcontainer/docker-compose.yml
Normal file
|
@ -0,0 +1,41 @@
|
|||
services:
|
||||
nginx-ui:
|
||||
build: .
|
||||
volumes:
|
||||
- ../..:/workspaces:cached
|
||||
- ./go-path:/root/go
|
||||
- ./nginx:/etc/nginx
|
||||
command: sleep infinity
|
||||
environment:
|
||||
- NGINX_UI_CERT_CA_DIR=https://pebble:14000/dir
|
||||
networks:
|
||||
nginxui:
|
||||
pebble:
|
||||
image: ghcr.io/letsencrypt/pebble:latest
|
||||
volumes:
|
||||
- ./pebble-test:/test
|
||||
command: -config /test/config/pebble-config.json -strict -dnsserver challtestsrv:8053
|
||||
ports:
|
||||
- 14000:14000 # HTTPS ACME API
|
||||
- 15000:15000 # HTTPS Management API
|
||||
environment:
|
||||
- PEBBLE_VA_NOSLEEP=1
|
||||
- PEBBLE_VA_ALWAYS_VALID=1
|
||||
networks:
|
||||
nginxui:
|
||||
challtestsrv:
|
||||
image: ghcr.io/letsencrypt/pebble-challtestsrv:latest
|
||||
command: -defaultIPv6 "" -defaultIPv4 challtestsrv
|
||||
ports:
|
||||
- 8055:8055 # HTTP Management API
|
||||
networks:
|
||||
nginxui:
|
||||
casdoor:
|
||||
image: casbin/casdoor-all-in-one
|
||||
ports:
|
||||
- 8001:8000
|
||||
networks:
|
||||
- nginxui
|
||||
|
||||
networks:
|
||||
nginxui:
|
Loading…
Add table
Add a link
Reference in a new issue