| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- services:
- ability-center:
- container_name: ability-center
- restart: always
- environment:
- SPRING_PROFILES_ACTIVE: ${SPRING_PROFILES_ACTIVE:-prod}
- NODE_OPTIONS: --dns-result-order=ipv4first
- PLAYWRIGHT_BROWSERS_PATH: /ms-playwright
- PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "1"
- build:
- context: ./runtime
- dockerfile: dockerfile
- volumes:
- - type: bind
- source: /data/project/ability-center/app/dcjxb-ability-center.jar
- target: /app/dcjxb-ability-center.jar
- read_only: true
- bind:
- create_host_path: false
- - type: bind
- source: /data/project/ability-center/config/application.yml
- target: /app/config/application.yml
- read_only: true
- bind:
- create_host_path: false
- - type: bind
- source: /data/project/ability-center/config/application-prod.yml
- target: /app/config/application-prod.yml
- read_only: true
- bind:
- create_host_path: false
- - type: bind
- source: /data/project/ability-center/logs
- target: /app/logs
- bind:
- create_host_path: true
- - type: bind
- source: /data/project/ability-center/tmp
- target: /app/tmp
- bind:
- create_host_path: true
- network_mode: host
|