Rename container and update volume paths

This commit is contained in:
Obsidian
2025-11-10 21:57:29 +01:00
committed by GitHub
parent 8c62b53961
commit ee915de0eb

View File

@@ -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