mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 11:36:58 +03:00
Fix permission issues
This commit is contained in:
@@ -7,9 +7,9 @@ services:
|
||||
- database.env
|
||||
volumes:
|
||||
- database-data:/var/lib/postgresql/data
|
||||
- ./database-export/:/opt/exports
|
||||
- ./database-export/:/opt/exports # To make this work, run chmod 777 ./database-exports
|
||||
ports:
|
||||
- 127.0.0.1:5432:5432
|
||||
- 5432:5432
|
||||
redis:
|
||||
container_name: redis
|
||||
image: redis
|
||||
@@ -17,7 +17,7 @@ services:
|
||||
volumes:
|
||||
- ./redis/redis.conf:/usr/local/etc/redis/redis.conf
|
||||
ports:
|
||||
- 127.0.0.1:32773:6379
|
||||
- 32773:6379
|
||||
|
||||
volumes:
|
||||
database-data:
|
||||
database-data:
|
||||
|
||||
@@ -108,6 +108,9 @@ http {
|
||||
proxy_pass http://backend_GET;
|
||||
}
|
||||
|
||||
location /database/ {
|
||||
alias /home/sbadmin/sponsor/docker/database-export/;
|
||||
}
|
||||
location /database {
|
||||
proxy_pass http://backend_db;
|
||||
}
|
||||
@@ -118,9 +121,10 @@ http {
|
||||
alias /home/sbadmin/test-db/database.db;
|
||||
}
|
||||
|
||||
location = /database/sponsorTimes.csv {
|
||||
alias /home/sbadmin/sponsorTimes.csv;
|
||||
}
|
||||
#location = /database/sponsorTimes.csv {
|
||||
# alias /home/sbadmin/sponsorTimes.csv;
|
||||
#}
|
||||
|
||||
|
||||
#location /api/voteOnSponsorTime {
|
||||
# return 200 "Success";
|
||||
|
||||
Reference in New Issue
Block a user