Created
December 3, 2019 13:48
-
-
Save HariantoAtWork/2226b776a2937c9286976eeedbe4734e to your computer and use it in GitHub Desktop.
Docker api-sylo-space jsonplaceholder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker rm -f api-sylo-space | |
docker pull harianto/api-sylo-space | |
docker run -v /tmp:/tmp -v /var/www/node_vhosts/api.sylo.space/api:/home/node/app/src/data --restart always --name api-sylo-space -e GID='33' -e UID='33' -dit harianto/api-sylo-space | |
rm /tmp/api-sylo-space.sock; touch /tmp/api-sylo-space.sock; chmod 777 /tmp/api-sylo-space.sock && chown www-data:www-data /tmp/api-sylo-space.sock | |
sleep 5 | |
chmod 777 /tmp/api-sylo-space.sock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment