2026-05-17 21:23:50 +07:00
|
|
|
services:
|
|
|
|
|
app:
|
2026-05-21 11:40:02 +00:00
|
|
|
build: .
|
2026-05-19 16:31:28 +07:00
|
|
|
image: ${IMAGE_NAME:-ghcr.io/mytheclipse/bete:latest}
|
2026-05-17 21:23:50 +07:00
|
|
|
container_name: imphenbot-app
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
env_file:
|
|
|
|
|
- .env
|
|
|
|
|
volumes:
|
|
|
|
|
- ./recordings:/app/recordings
|
|
|
|
|
# Mapping SQLite database files if needed, or storing them in a dedicated volume.
|
|
|
|
|
# Assuming default config uses root directory for DB.
|
|
|
|
|
- ./.muxer-queue.db:/app/.muxer-queue.db
|
|
|
|
|
- ./.muxer-queue.db-shm:/app/.muxer-queue.db-shm
|
|
|
|
|
- ./.muxer-queue.db-wal:/app/.muxer-queue.db-wal
|
|
|
|
|
labels:
|
|
|
|
|
- "traefik.enable=true"
|
2026-05-29 03:46:38 +07:00
|
|
|
- "traefik.http.routers.imphenbot.rule=Host(`upload.asepharyana.my.id`) || Host(`upload.asepharyana.tech`) || Host(`upload.asepharyana.web.id`)"
|
2026-05-17 21:23:50 +07:00
|
|
|
- "traefik.http.routers.imphenbot.entrypoints=websecure"
|
|
|
|
|
- "traefik.http.routers.imphenbot.tls=true"
|
|
|
|
|
# Expose port to traefik (adjust if WEBSERVER_PORT differs)
|
|
|
|
|
- "traefik.http.services.imphenbot.loadbalancer.server.port=3000"
|
|
|
|
|
networks:
|
|
|
|
|
- app-shared-net
|
|
|
|
|
|
|
|
|
|
networks:
|
|
|
|
|
app-shared-net:
|
|
|
|
|
name: app-shared-net
|
|
|
|
|
external: true
|