Skip to content

Commit

Permalink
update demo files (#8)
Browse files Browse the repository at this point in the history
* update demo files
* update casdoor doc
* fix file location
  • Loading branch information
haobibo authored May 10, 2024
1 parent 316d463 commit 30fe875
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 15 deletions.
2 changes: 1 addition & 1 deletion docker_app_clash/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ RUN wget https://github.com/haishanh/yacd/archive/gh-pages.zip \
# https://github.com/Dreamacro/clash
FROM dreamacro/clash-premium
COPY --from=builder /tmp/* /root/.config/clash/ui
COPY config.yaml /root/.config/clash/
COPY demo/config.yaml /root/.config/clash/
Empty file added docker_app_clash/README.md
Empty file.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# https://github.com/Dreamacro/clash/wiki/configuration#all-configuration-options
mixed-port: 7890
external-controller: :9090
mixed-port: 57890
external-controller: :59090
allow-lan: true
bind-address: '*'
log-level: debug
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
version: '3.9'

# ref1: https://github.com/Dreamacro/clash/wiki/Run-clash-in-docker
# ref2: https://github.com/Dreamacro/clash/wiki/configuration

services:
svc-clash:
image: 0x06/clash-premium
container_name: svc-clash
image: qpod/app-clash
container_name: app-clash
restart: unless-stopped
volumes:
- ./config.yaml:/root/.config/clash/config.yaml:ro
ports:
- "7890:7890"
- "9999:9090"
- "57890:57890"
- "59090:9090"
# When your system is Linux, you can use `network_mode: "host"` directly.
# network_mode: "host"
2 changes: 2 additions & 0 deletions docker_casdoor/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Casdoor

Identity and Access Management (IAM) / Single-Sign-On (SSO) platform: https://github.com/casdoor/casdoor

## debug

```shell
Expand Down
6 changes: 2 additions & 4 deletions docker_casdoor/demo/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
version: '3.7'

services:
db-postgres:
# su postgres && psql -d casdoor -U pg-casdoor-username
image: postgres:15
# su postgres && psql -d casdoor -U pg-casdoor-username
image: qpod/postgres:16
container_name: db-postgres
environment:
POSTGRES_DB: casdoor
Expand Down
Empty file modified docker_casdoor/work/script-setup-casdoor.sh
100755 → 100644
Empty file.
2 changes: 0 additions & 2 deletions docker_keycloak/demo/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.7'

services:
db-postgres:
# su postgres && psql -d keycloak -U pg-keycloak-username
Expand Down

0 comments on commit 30fe875

Please sign in to comment.