version: "3" services: product-hunt: image: openjdk:21 container_name: product-hunt ports: - 8081:8081 volumes: - /home/zkpk/product-hunt:/app environment: - TZ=Asia/Shanghai entrypoint: ['java', '-Dspring.profiles.active=prod', '-Djasypt.encryptor.password=${PASSWORD}', '-jar', '/app/server-1.0-SNAPSHOT.jar'] stdin_open: true tty: true restart: always