Add (commented) volume in docker-compose && Mitigating the HTTPoxy Vulnerability (#1253)
* enable commented volume in docker-compose.yml * Disable unworking Nginx root directory && Mitigating the HTTPoxy Vulnerability * add my instance to the list * enable GZIP on nginx.conf * readd root /home/mastodon/live/public;
This commit is contained in:
parent
c35bda0551
commit
b723ee73fc
3 changed files with 24 additions and 3 deletions
|
@ -1,11 +1,20 @@
|
|||
version: '2'
|
||||
services:
|
||||
|
||||
db:
|
||||
restart: always
|
||||
image: postgres:alpine
|
||||
### Uncomment to enable DB persistance
|
||||
# volumes:
|
||||
# - ./postgres:/var/lib/postgresql/data
|
||||
|
||||
redis:
|
||||
restart: always
|
||||
image: redis:alpine
|
||||
### Uncomment to enable REDIS persistance
|
||||
# volumes:
|
||||
# - ./redis:/data
|
||||
|
||||
web:
|
||||
restart: always
|
||||
build: .
|
||||
|
@ -19,6 +28,7 @@ services:
|
|||
volumes:
|
||||
- ./public/assets:/mastodon/public/assets
|
||||
- ./public/system:/mastodon/public/system
|
||||
|
||||
streaming:
|
||||
restart: always
|
||||
build: .
|
||||
|
@ -29,6 +39,7 @@ services:
|
|||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
|
||||
sidekiq:
|
||||
restart: always
|
||||
build: .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue