run_daemon.sh 601 B

1234567891011121314151617181920212223242526
  1. #!/bin/bash
  2. export SSH_DEFAULT_PORT="6055"
  3. export AVLS_DAEMON_PORT="2857"
  4. export PASSDB_DAEMON_PORT="7277"
  5. export BILLDB_DAEMON_PORT="2455"
  6. export HELLO_DAEMON_PORT="3556"
  7. export UPDATE_DAEMON_PORT="8377"
  8. #docker build --no-cache -t popufare .
  9. docker run \
  10. -p 5506:3306 \
  11. -p 8080:80 \
  12. -p 4430:443 \
  13. -p $SSH_DEFAULT_PORT:22 \
  14. -p $AVLS_DAEMON_PORT:$AVLS_DAEMON_PORT \
  15. -p $PASSDB_DAEMON_PORT:$PASSDB_DAEMON_PORT \
  16. -p $BILLDB_DAEMON_PORT:$BILLDB_DAEMON_PORT \
  17. -p $HELLO_DAEMON_PORT:$HELLO_DAEMON_PORT \
  18. -p $UPDATE_DAEMON_PORT:$UPDATE_DAEMON_PORT \
  19. -t -d popufare
  20. # bus
  21. docker ps