1
0

docker-compose.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. #
  2. # Copyright (c) 2019 Of Him Code Technology Studio
  3. # Jpom is licensed under Mulan PSL v2.
  4. # You can use this software according to the terms and conditions of the Mulan PSL v2.
  5. # You may obtain a copy of Mulan PSL v2 at:
  6. # http://license.coscl.org.cn/MulanPSL2
  7. # THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  8. # See the Mulan PSL v2 for more details.
  9. #
  10. version: '3.8'
  11. services:
  12. server:
  13. env_file:
  14. - env-release.env
  15. image: jpomdocker/jpom:server-${JPOM_VERSION}
  16. build:
  17. dockerfile: ./modules/server/Dockerfile
  18. context: .
  19. args:
  20. JPOM_VERSION: ${JPOM_VERSION}
  21. environment:
  22. "jpom.authorize.token": ${SERVER_TOKEN}
  23. volumes:
  24. - jpom-server-data:/usr/local/jpom-server/data
  25. - jpom-server-logs:/usr/local/jpom-server/logs
  26. - jpom-server-conf:/usr/local/jpom-server/conf
  27. ports:
  28. - "2122:2122"
  29. volumes:
  30. jpom-server-data:
  31. jpom-server-logs:
  32. jpom-server-conf: