forked from HexPandaa/RootMe-Badge-Generator
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
27 lines (26 loc) · 1.08 KB
/
docker-compose.yml
File metadata and controls
27 lines (26 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Compose spec v2+ : pas de clé `version:` (obsolète).
# Runtime : Python 3.14 (image définie dans le Dockerfile).
# Port 38085 : identique au job deploy (.github/workflows/docker-image.yml).
# Local : docker compose up --build → http://localhost:38085
# Synologie / self-hosted : définir ROOTME_STORAGE_PATH (bind mount), ex. :
# ROOTME_STORAGE_PATH=/volume1/docker/rootme/storage_clients
services:
rootme:
build: .
image: ${ROOTME_IMAGE:-rootme-badge-generator:local}
container_name: rootme
restart: always
ports:
- "0.0.0.0:38085:80"
# Variables : fichier .env à la racine (interpolation ${...}, tous les compose) + env du shell (CI).
environment:
URL: ${URL:-https://root-me-badge.cloud.duboc.xyz}
LOG_LEVEL: ${LOG_LEVEL:-INFO}
ROOTME_ACCOUNT_USERNAME: ${ROOTME_ACCOUNT_USERNAME:-}
ROOTME_ACCOUNT_PASSWORD: ${ROOTME_ACCOUNT_PASSWORD:-}
ROOTME_API_KEY: ${ROOTME_API_KEY:-}
PUBLIC_PROXY_POOL: ${PUBLIC_PROXY_POOL:-}
volumes:
- ${ROOTME_STORAGE_PATH:-rootme_storage}:/app/storage_clients
volumes:
rootme_storage: