commit | 3752db5bbaa55cb99fba0ca3e4e520366cacd9fd | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Wed Jul 22 14:56:17 2015 -0700 |
committer | Scott Baker <smbaker@gmail.com> | Wed Jul 22 14:56:17 2015 -0700 |
tree | 14bb6485a2b258225ab9123fd5cc99dfe388c45f | |
parent | 1c3d8a2c828b3fca9d1e40349719d6ef403f20c2 [diff] [blame] |
script for starting xos inside docker, add postgres wait
diff --git a/Dockerfile b/Dockerfile index 7ca3b75..7d84cd7 100644 --- a/Dockerfile +++ b/Dockerfile
@@ -131,4 +131,4 @@ # Define default command. #CMD ["/bin/bash"] -CMD service postgresql start; service supervisor start; cd /opt/xos; PUBLIC_HOSTNAME=`./xos-config.py get server_hostname $HOSTNAME`; python manage.py runserver $PUBLIC_HOSTNAME:8000 --insecure +CMD /opt/xos/scripts/docker_start_xos