odf_new/docker-compose.yml
zpc 08037f6be0
Some checks failed
continuous-integration/drone/push Build is failing
fix: Harbor项目名改为odf
2026-03-26 10:55:12 +08:00

45 lines
1.0 KiB
YAML

services:
odf-new-server:
image: 192.168.195.25:19900/odf/server:latest
container_name: odf-new-server
privileged: true
ports:
- "${SERVER_PORT:-2861}:8888"
restart: unless-stopped
environment:
- TZ=Asia/Shanghai
volumes:
- ./configs/server/appsettings.json:/app/appsettings.json
- ./files/export:/app/wwwroot/export
- ./files/adminlogs:/app/adminlogs
- ./files/DataProtection:/app/DataProtection
- ./files/file:/app/wwwroot/file
networks:
- code-network
odf-new-admin:
image: 192.168.195.25:19900/odf/admin:latest
container_name: odf-new-admin
ports:
- "${ADMIN_PORT:-2862}:80"
restart: unless-stopped
environment:
- TZ=Asia/Shanghai
networks:
- code-network
odf-new-web:
image: 192.168.195.25:19900/odf/web:latest
container_name: odf-new-web
ports:
- "${WEB_PORT:-2860}:80"
restart: unless-stopped
environment:
- TZ=Asia/Shanghai
networks:
- code-network
networks:
code-network:
external: true