mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-10 17:26:17 +00:00
Rename container and update volume paths
This commit is contained in:
11
compose.yaml
11
compose.yaml
@@ -1,15 +1,14 @@
|
|||||||
services:
|
services:
|
||||||
microsoft-rewards-script:
|
microsoft-rewards-script:
|
||||||
build: .
|
build: .
|
||||||
container_name: microsoft-rewards-script
|
container_name: microsoft-rewards-bot
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
# Volume mounts: Specify a location where you want to save the files on your local machine.
|
# Volume mounts: Specify a location where you want to save the files on your local machine.
|
||||||
volumes:
|
volumes:
|
||||||
- ./src/accounts.jsonc:/usr/src/microsoft-rewards-script/dist/accounts.jsonc:ro
|
- ./src/accounts.jsonc:/usr/src/microsoft-rewards-bot/dist/accounts.jsonc:ro
|
||||||
- ./src/config.jsonc:/usr/src/microsoft-rewards-script/dist/config.jsonc:ro
|
- ./src/config.jsonc:/usr/src/microsoft-rewards-bot/dist/config.jsonc:ro
|
||||||
- ./sessions:/usr/src/microsoft-rewards-script/sessions # Optional, saves your login session
|
- ./sessions:/usr/src/microsoft-rewards-bot/dist/browser/sessions # Optional, saves your login session
|
||||||
- ./reports:/usr/src/microsoft-rewards-script/reports # Optional, saves run reports
|
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
TZ: "America/Toronto" # Set your timezone for proper scheduling
|
TZ: "America/Toronto" # Set your timezone for proper scheduling
|
||||||
@@ -40,4 +39,4 @@ services:
|
|||||||
|
|
||||||
# Security hardening
|
# Security hardening
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
|
|||||||
Reference in New Issue
Block a user