si458

Untitled

Apr 1st, 2021
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PS /home/ubuntu> Restart-WaykBastion -verbose
  2. Stopping den-gateway
  3. Stopping den-traefik
  4. Stopping den-server
  5. Stopping den-lucid
  6. Stopping den-picky
  7. Stopping den-mongo
  8. docker rm den-mongo
  9. Starting den-mongo
  10. VERBOSE: docker run --name den-mongo -d --restart=no --network=den-network -v "den-mongodata:/data/db" library/mongo:4.2-bionic
  11. den-mongo successfully started
  12. docker rm den-picky
  13. Starting den-picky
  14. 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
  15. den-picky successfully started
  16. docker rm den-lucid
  17. Starting den-lucid
  18. 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
  19. den-lucid successfully started
  20. docker rm den-server
  21. Starting den-server
  22. 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
  23. den-server successfully started
  24. docker rm den-traefik
  25. Starting den-traefik
  26. 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
  27. den-traefik successfully started
  28. docker rm den-gateway
  29. Starting den-gateway
  30. 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"
  31. den-gateway successfully started
  32. PS /home/ubuntu> docker stop den-server
  33. den-server
  34. 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
  35. 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.
  36. See 'docker run --help'.
  37. PS /home/ubuntu> docker rm den-server
  38. den-server
  39. 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
  40. 7b5668a5b83d2da8c42ea6654ad05e9fb03a37115a05bdfe4f7b5a4fecc53202
  41. PS /home/ubuntu> docker ps -a
  42. CONTAINER ID   IMAGE                                           COMMAND                  CREATED          STATUS                   PORTS                                      NAMES
  43. 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
  44. 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
  45. d1dcd7365a7a   traefik:1.7                                     "/traefik --file --c…"   5 minutes ago    Up 5 minutes             80/tcp, 0.0.0.0:4000->4000/tcp             den-traefik
  46. 97cd890e1070   devolutions/den-lucid:3.9.4-buster              "./lucid"                5 minutes ago    Up 5 minutes (healthy)   4242/tcp                                   den-lucid
  47. 2c80f89141ee   devolutions/picky:4.8.0-buster                  "./picky-server"         5 minutes ago    Up 5 minutes             12345/tcp                                  den-picky
  48. 1b316b04798c   mongo:4.2-bionic                                "docker-entrypoint.s…"   5 minutes ago    Up 5 minutes             27017/tcp                                  den-mongo
  49. 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
  50. PS /home/ubuntu>
Advertisement
Add Comment
Please, Sign In to add comment