Initialize Spring Boot application with HTTPS support and add Docker configuration
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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
|
||||
Reference in New Issue
Block a user