run 463 Bytes
Newer Older
1 2 3
#!/bin/bash

sudo docker run \
4
        --name=gargamelle_box \
5 6 7
        -v /srv/gargantext:/srv/gargantext \
        -v /srv/gargandata:/srv/gargandata \
        -v /srv/gargantext_lib:/srv/gargantext_lib \
delanoe's avatar
delanoe committed
8
        -p 8000:8000 \
9 10
        -p 5432 \
        -it gargamelle:latest \
delanoe's avatar
delanoe committed
11 12
        /bin/bash -c "service postgresql start; /bin/su gargantua -c 'source /env_3-5/bin/activate && /srv/gargantext/manage.py runserver 0.0.0.0:8000'"

13
sudo docker rm gargamelle_box