[+] cloudflared

This commit is contained in:
2025-11-25 10:43:31 +08:00
parent 6932d586d4
commit fc944e1355
+11 -1
View File
@@ -5,7 +5,7 @@ services:
context: .. context: ..
dockerfile: deploy/Dockerfile.web dockerfile: deploy/Dockerfile.web
ports: ports:
- "3000:3000" - "127.0.0.1:3000:3000"
environment: environment:
- ORIGIN=http://localhost:3000 - ORIGIN=http://localhost:3000
- MONGO_URL=mongodb://cat:meow@db:27017/amaoke?authSource=admin - MONGO_URL=mongodb://cat:meow@db:27017/amaoke?authSource=admin
@@ -49,7 +49,17 @@ services:
volumes: volumes:
- mongodb_data:/data/db - mongodb_data:/data/db
# Cloudflared
cfd:
image: cloudflared/cloudflared:latest
container_name: amaoke-cfd
volumes:
- cloudflared:/root/.cloudflared
env_file: .env
restart: unless-stopped
volumes: volumes:
mongodb_data: mongodb_data:
python_temp: python_temp:
python_cache: python_cache:
cloudflared: