Skip to content

Commit

Permalink
teleport
Browse files Browse the repository at this point in the history
  • Loading branch information
chendelin1982 authored Nov 30, 2023
1 parent 185bb89 commit dfb7fe7
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
7 changes: 4 additions & 3 deletions apps/superset/.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,22 @@
# superset_config.py=>multiply language
# docker-bootstrap.sh=>pip install
# docker-init.sh=>ADMIN_PASSWORD
W9_POWER_PASSWORD=uQ8E1wVTzG8SOk3!

W9_REPO=apache/superset
# latest is not stable version
W9_VERSION=2.1.0
W9_ID=superset
W9_POWER_PASSWORD=uQ8E1wVTzG8SOk3!

W9_REPO=apache/superset
#### -- Not allowed to edit below environments when recreate app based on existing data -- ####
W9_HTTP_PORT=8088
W9_HTTP_PORT_SET=9001

W9_NETWORK=websoft9
W9_USER=admin
W9_PASSWORD=$W9_POWER_PASSWORD
W9_URL_REPLACE=false
W9_URL=appname.example.com
W9_DIST=community
W9_DB_EXPOSE="postgresql"
W9_NETWORK=websoft9
#### --------------------------------------------------------------------------------------- ####
22 changes: 10 additions & 12 deletions apps/teleport/.env
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
W9_POWER_PASSWORD=1PrMxExC45Ls3T

W9_ID=teleport
W9_REPO=public.ecr.aws/gravitational/teleport
W9_DIST=community

# get version from: https://gallery.ecr.aws/gravitational/teleport
W9_VERSION=14-amd64
W9_POWER_PASSWORD=1PrMxExC45Ls3T

#### -- Not allowed to edit below environments when recreate app based on existing data -- ####
W9_HTTP_PORT=3080
W9_HTTP_PORT_SET=9001
W9_3023_PORT=3023
W9_3023_PORT_SET=3023
W9_3025_PORT=3025
W9_3025_PORT_SET=3025
W9_HTTPS_PORT=3080
W9_HTTPS_PORT_SET=9001
W9_SSH_PORT=3023
W9_SSH_PORT_SET=3023
W9_AUTH_PORT=3025
W9_AUTH_PORT_SET=3025

W9_NETWORK=websoft9
W9_USER=admin
W9_PASSWORD=$W9_POWER_PASSWORD
W9_URL_REPLACE=false
W9_URL=appname.example.com
W9_DIST=community
W9_URL=InternetIP
W9_NETWORK=websoft9
#### --------------------------------------------------------------------------------------- ####
6 changes: 3 additions & 3 deletions apps/teleport/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ services:
hostname: localhost
command: -c "sleep 1 && /usr/bin/dumb-init teleport start -c /etc/teleport/teleport.yaml"
ports:
- '${W9_3023_PORT_SET}:${W9_3023_PORT}'
- '${W9_3025_PORT_SET}:${W9_3025_PORT}'
- '${W9_HTTP_PORT_SET}:${W9_HTTP_PORT}'
- '${W9_SSH_PORT_SET}:${W9_SSH_PORT}'
- '${W9_AUTH_PORT_SET}:${W9_AUTH_PORT}'
- '${W9_HTTPS_PORT_SET}:${W9_HTTPS_PORT}'
volumes:
- ./src/config:/etc/teleport
- teleport_data:/var/lib/teleport
Expand Down

0 comments on commit dfb7fe7

Please sign in to comment.