Created
February 5, 2020 01:58
-
-
Save xgenvn/16a82a2933eae148d533c79e654cc884 to your computer and use it in GitHub Desktop.
Simple serve static with basic auth
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: | |
| aline-fe: | |
| image: pierrezemb/gostatic | |
| restart: unless-stopped | |
| command: -enable-basic-auth -set-basic-auth username:password | |
| volumes: | |
| - ./dist:/srv/http | |
| ports: | |
| - 80:8043 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment