Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PS /home/ubuntu> Restart-WaykBastion -verbose
- Stopping den-gateway
- Stopping den-traefik
- Stopping den-server
- Stopping den-lucid
- Stopping den-picky
- Stopping den-mongo
- docker rm den-mongo
- Starting den-mongo
- VERBOSE: docker run --name den-mongo -d --restart=no --network=den-network -v "den-mongodata:/data/db" library/mongo:4.2-bionic
- den-mongo successfully started
- docker rm den-picky
- Starting den-picky
- VERBOSE: docker run --name den-picky -d --restart=no --network=den-network -e "PICKY_PROVISIONER_PUBLIC_KEY_PATH=/etc/picky/picky-public.pem" -e "PICKY_REALM=server.com" -e "PICKY_DATABASE_URL=mongodb://den-mongo:27017" -e "RUST_BACKTRACE=1" -v "/etc/wayk-bastion/picky:/etc/picky:ro" devolutions/picky:4.8.0-buster
- den-picky successfully started
- docker rm den-lucid
- Starting den-lucid
- VERBOSE: docker run --name den-lucid -d --restart=no --network=den-network -e "LUCID_TOKEN__DEFAULT_ISSUER=https://remote.server.com" -e "LUCID_LOGIN__DEFAULT_LOCALE=en_US" -e "LUCID_LOG__LEVEL=warn" -e "LUCID_ACCOUNT__USER_EXISTS_URL=http://den-server:10255/account/user-exists" -e "LUCID_DATABASE__URL=mongodb://den-mongo:27017" -e "LUCID_TOKEN__ISSUERS=http://localhost:4000" -e "LUCID_LOGIN__ALLOW_FORGOT_PASSWORD=false" -e "RUST_BACKTRACE=1" -e "LUCID_ADMIN__SKIP=true" -e "LUCID_ACCOUNT__SEND_ACTIVATION_EMAIL_URL=http://den-server:10255/account/activation" -e "LUCID_LOGIN__SKIP_COMPLETE_PROFILE=true" -e "LUCID_LOGIN__PATH_PREFIX=lucid" -e "LUCID_API__ALLOWED_ORIGINS=https://remote.server.com" -e "LUCID_ACCOUNT__REFRESH_USER_URL=http://den-server:10255/account/refresh" -e "LUCID_LOG__FORMAT=json" -e "LUCID_LOGIN__PASSWORD_DELEGATION=true" -e "LUCID_ACCOUNT__FORGOT_PASSWORD_URL=http://den-server:10255/account/forgot" -e "LUCID_API__KEY=iFpOfozMEaI7NEPLMesSe71Hy1abcBjT" -e "LUCID_LOCALHOST_LISTENER=http" -e "LUCID_ACCOUNT__LOGIN_URL=http://den-server:10255/account/login" -e "LUCID_LOGIN__ALLOW_UNVERIFIED_EMAIL_LOGIN=true" -e "LUCID_ACCOUNT__APIKEY=2h7BNbvYeIbHJpi2Vlb0cUs6xzD4Ganm" --health-interval=5s --health-timeout=2s --health-retries=5 --health-start-period=1s --health-cmd='curl -sS http://den-lucid:4242/healthz' devolutions/den-lucid:3.9.4-buster
- den-lucid successfully started
- docker rm den-server
- Starting den-server
- VERBOSE: docker run --name den-server -d --restart=no --network=den-network -e "DEN_PRIVATE_KEY_FILE=/etc/den-server/den-private.key" -e "LUCID_EXTERNAL_URL=https://remote.server.com/lucid" -e "JET_RELAY_URL=https://remote.server.com" -e "RUST_BACKTRACE=1" -e "JET_SERVER_URL=" -e "PICKY_REALM=server.com" -e "DEN_LOGIN_REQUIRED=false" -e "MONGO_URL=mongodb://den-mongo:27017" -e "AUDIT_TRAILS=true" -e "LUCID_AUTHENTICATION_KEY=iFpOfozMEaI7NEPLMesSe71Hy1abcBjT" -e "DEN_HOST_INFO_FILE=/etc/den-server/host_info.json" -e "DEN_API_KEY=2h7BNbvYeIbHJpi2Vlb0cUs6xzD4Ganm" -e "DEN_ROUTER_EXTERNAL_URL=https://remote.server.com/cow" -e "LUCID_INTERNAL_URL=http://den-lucid:4242" -e "PICKY_URL=http://den-picky:12345" -e "DEN_PUBLIC_KEY_FILE=/etc/den-server/den-public.pem" -e "PICKY_EXTERNAL_URL=https://remote.server.com/picky" -e "DEN_EXTERNAL_URL=https://remote.server.com" -e "DEN_LISTENER_URL=http://0.0.0.0:4000" -v "/etc/wayk-bastion/den-server:/etc/den-server:ro" --health-interval=5s --health-timeout=2s --health-retries=5 --health-start-period=1s --health-cmd='curl -sS http://den-server:10255/health' devolutions/den-server:3.3.0-buster -l info -m onprem
- den-server successfully started
- docker rm den-traefik
- Starting den-traefik
- VERBOSE: docker run --name den-traefik -d --restart=no --network=den-network -v "/etc/wayk-bastion/traefik:/etc/traefik" -p 4000:4000 library/traefik:1.7 --file --configFile=/etc/traefik/traefik.toml
- den-traefik successfully started
- docker rm den-gateway
- Starting den-gateway
- VERBOSE: docker run --name den-gateway -d --restart=no --network=den-network -e "DGATEWAY_UNRESTRICTED=true" -e "RUST_LOG=info" -e "RUST_BACKTRACE=1" -p 8080:8080 devolutions/devolutions-gateway:0.14.0-buster --hostname remote.server.com -l "tcp://*:8080,tcp://*:8080" -l "ws://*:7171,wss://*:443"
- den-gateway successfully started
- PS /home/ubuntu> docker stop den-server
- den-server
- PS /home/ubuntu> docker run --name den-server -d --restart=no --network=den-network -e "DEN_PRIVATE_KEY_FILE=/etc/den-server/den-private.key" -e "LUCID_EXTERNAL_URL=https://remote.server.com/lucid" -e "JET_RELAY_URL=https://remote.server.com" -e "RUST_BACKTRACE=1" -e "JET_SERVER_URL=" -e "PICKY_REALM=server.com" -e "DEN_LOGIN_REQUIRED=false" -e "MONGO_URL=mongodb://den-mongo:27017" -e "AUDIT_TRAILS=true" -e "LUCID_AUTHENTICATION_KEY=iFpOfozMEaI7NEPLMesSe71Hy1abcBjT" -e "DEN_HOST_INFO_FILE=/etc/den-server/host_info.json" -e "DEN_API_KEY=2h7BNbvYeIbHJpi2Vlb0cUs6xzD4Ganm" -e "DEN_ROUTER_EXTERNAL_URL=https://remote.server.com/cow" -e "LUCID_INTERNAL_URL=http://den-lucid:4242" -e "PICKY_URL=http://den-picky:12345" -e "DEN_PUBLIC_KEY_FILE=/etc/den-server/den-public.pem" -e "PICKY_EXTERNAL_URL=https://remote.server.com/picky" -e "DEN_EXTERNAL_URL=https://remote.server.com" -e "DEN_LISTENER_URL=http://0.0.0.0:4000" -v "/etc/wayk-bastion/den-server:/etc/den-server:ro" --health-interval=5s --health-timeout=2s --health-retries=5 --health-start-period=1s --health-cmd='curl -sS http://den-server:10255/health' devolutions/den-server:3.3.0-buster -l debug -m onprem
- docker: Error response from daemon: Conflict. The container name "/den-server" is already in use by container "694a43c4241e3b2e2e6745c877528a75599a3b9b54bd62dd2dde37b81dbf7488". You have to remove (or rename) that container to be able to reuse that name.
- See 'docker run --help'.
- PS /home/ubuntu> docker rm den-server
- den-server
- PS /home/ubuntu> docker run --name den-server -d --restart=no --network=den-network -e "DEN_PRIVATE_KEY_FILE=/etc/den-server/den-private.key" -e "LUCID_EXTERNAL_URL=https://remote.server.com/lucid" -e "JET_RELAY_URL=https://remote.server.com" -e "RUST_BACKTRACE=1" -e "JET_SERVER_URL=" -e "PICKY_REALM=server.com" -e "DEN_LOGIN_REQUIRED=false" -e "MONGO_URL=mongodb://den-mongo:27017" -e "AUDIT_TRAILS=true" -e "LUCID_AUTHENTICATION_KEY=iFpOfozMEaI7NEPLMesSe71Hy1abcBjT" -e "DEN_HOST_INFO_FILE=/etc/den-server/host_info.json" -e "DEN_API_KEY=2h7BNbvYeIbHJpi2Vlb0cUs6xzD4Ganm" -e "DEN_ROUTER_EXTERNAL_URL=https://remote.server.com/cow" -e "LUCID_INTERNAL_URL=http://den-lucid:4242" -e "PICKY_URL=http://den-picky:12345" -e "DEN_PUBLIC_KEY_FILE=/etc/den-server/den-public.pem" -e "PICKY_EXTERNAL_URL=https://remote.server.com/picky" -e "DEN_EXTERNAL_URL=https://remote.server.com" -e "DEN_LISTENER_URL=http://0.0.0.0:4000" -v "/etc/wayk-bastion/den-server:/etc/den-server:ro" --health-interval=5s --health-timeout=2s --health-retries=5 --health-start-period=1s --health-cmd='curl -sS http://den-server:10255/health' devolutions/den-server:3.3.0-buster -l debug -m onprem
- 7b5668a5b83d2da8c42ea6654ad05e9fb03a37115a05bdfe4f7b5a4fecc53202
- PS /home/ubuntu> docker ps -a
- CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
- 7b5668a5b83d devolutions/den-server:3.3.0-buster "./den-server -l deb…" 11 seconds ago Up 9 seconds (healthy) 443/tcp, 4491/tcp, 10255/tcp den-server
- 63901ba02829 devolutions/devolutions-gateway:0.14.0-buster "./devolutions-gatew…" 5 minutes ago Up 5 minutes 0.0.0.0:8080->8080/tcp, 10256/tcp den-gateway
- d1dcd7365a7a traefik:1.7 "/traefik --file --c…" 5 minutes ago Up 5 minutes 80/tcp, 0.0.0.0:4000->4000/tcp den-traefik
- 97cd890e1070 devolutions/den-lucid:3.9.4-buster "./lucid" 5 minutes ago Up 5 minutes (healthy) 4242/tcp den-lucid
- 2c80f89141ee devolutions/picky:4.8.0-buster "./picky-server" 5 minutes ago Up 5 minutes 12345/tcp den-picky
- 1b316b04798c mongo:4.2-bionic "docker-entrypoint.s…" 5 minutes ago Up 5 minutes 27017/tcp den-mongo
- 1e5f95196285 traefik:v2.4 "/entrypoint.sh trae…" 5 weeks ago Up 2 days 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp mytraefik_traefik_1
- PS /home/ubuntu>
Advertisement
Add Comment
Please, Sign In to add comment