services: spring-boot-https: container_name: spring-boot-https image: beksultancs/spring-boot-https:1 restart: unless-stopped ports: - "8081:80" - "8443:443" volumes: - certs:/certs environment: - SERVER_PORT=443 - FULLCHAINPEM=/certs/live/jambotron.run.place/fullchain.pem - PRIVKEYPEM=/certs/live/jambotron.run.place/privkey.pem volumes: certs: external: true