commit | 56c49020830432d556e76cc1e699b4c5f051cb9a | [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 | 2f64401781993e1f01e137d5fc0e1390192c48aa [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