#3 Update docker-compose file to enable ssl and basic auth.

This commit is contained in:
2017-09-04 11:16:55 +08:00
parent ad1c9d80b3
commit d4b2d30ddf
2 changed files with 17 additions and 1 deletions
+9 -1
View File
@@ -19,12 +19,20 @@ services:
volumes:
- /data:/user-files
aria2:
image: wahyd4/aria2-ariang:filerun
image: wahyd4/aria2-ariang:caddy-filerun
links:
- web:file-manager
ports:
- "8000:80"
- "6800:6800"
- "443:443"
environment:
- DOMAIN=localhost:80
# - SSL=true
# - RPC_SECRET=Hello
# - ARIA2_USER=admin
# - ARIA2_PWD=password
# - ENABLE_AUTH=true
volumes_from:
- web
+8
View File
@@ -11,8 +11,16 @@ services:
ports:
- "8000:80"
- "6800:6800"
- "443:443"
volumes_from:
- nextcloud
environment:
- DOMAIN=localhost:80
# - SSL=true
# - RPC_SECRET=Hello
# - ARIA2_USER=admin
# - ARIA2_PWD=password
# - ENABLE_AUTH=true
links:
- nextcloud:file-manager