File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 4242 cat > .env.local << EOF
4343 DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }}
4444 CLIENT_ID=${{ secrets.CLIENT_ID }}
45+ GUIDES_CHANNEL_ID=${{ secrets.GUIDES_CHANNEL_ID }}
4546 EOF
4647
4748 # Stop any existing containers
Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ services:
1010 restart : unless-stopped
1111 env_file :
1212 - .env.local
13+ environment :
14+ - GUIDES_TRACKER_PATH=/app/data/guides-tracker.json
15+ volumes :
16+ # Persist guides tracker data
17+ - guides-data:/app/data
1318 profiles :
1419 - prod
1520
@@ -24,6 +29,8 @@ services:
2429 restart : unless-stopped
2530 env_file :
2631 - .env.local
32+ environment :
33+ - GUIDES_TRACKER_PATH=/app/data/guides-tracker.json
2734 volumes :
2835 # Mount source code for hot reload
2936 - ./src:/app/src:ro
@@ -33,6 +40,11 @@ services:
3340 # Mount package files (in case dependencies change)
3441 - ./package.json:/app/package.json:ro
3542 - ./pnpm-lock.yaml:/app/pnpm-lock.yaml:ro
43+ # Persist guides tracker data
44+ - guides-data:/app/data
3645 profiles :
3746 - dev
3847
48+ volumes :
49+ guides-data :
50+ driver : local
You can’t perform that action at this time.
0 commit comments