Last active
April 15, 2020 04:34
-
-
Save MrHuxu/4d4ec0a27d78da7658da50467f8c28d4 to your computer and use it in GitHub Desktop.
vps scripts
This file contains hidden or 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
| git clone [this repo] docker-compose && cd docker-compose | |
| docker-compose up |
This file contains hidden or 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
| version: '3' | |
| services: | |
| homepage: | |
| restart: always | |
| image: hxtheone/homepage:latest | |
| ports: | |
| - 11011:11011 | |
| blogo: | |
| restart: always | |
| image: hxtheone/blogo:latest | |
| ports: | |
| - 13109:13109 | |
| yrel: | |
| restart: always | |
| image: hxtheone/yrel:latest | |
| ports: | |
| - 8082:8082 | |
| leetcode150: | |
| restart: always | |
| image: hxtheone/leetcode150:latest | |
| ports: | |
| - 15050:15050 | |
| nginx: | |
| restart: always | |
| image: nginx:latest | |
| ports: | |
| - 80:80 | |
| - 443:443 | |
| volumes: | |
| - /root/work/nginx/conf.d:/etc/nginx/conf.d | |
| - /root/work/nginx/logs:/var/log/nginx | |
| - /etc/letsencrypt:/etc/letsencrypt | |
| extra_hosts: | |
| localnode: 172.17.0.1 | |
| depends_on: | |
| - "homepage" | |
| - "blogo" | |
| - "yrel" | |
| - "leetcode150" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment