This commit is contained in:
2026-04-18 22:21:39 +03:00
parent 9f074ed8a8
commit 2b78bb84d3
11 changed files with 83 additions and 59 deletions
+2 -1
View File
@@ -5,7 +5,8 @@
#RUN microdnf install findutils
#RUN ./gradlew build -x test
FROM openjdk:24
#FROM openjdk:24
FROM eclipse-temurin:24-jdk
ADD https://download.docker.com/linux/static/stable/x86_64/docker-24.0.5.tgz /tmp/
RUN tar xzvf /tmp/docker-24.0.5.tgz -C /usr/local/bin --strip-components=1 docker/docker
+11 -11
View File
@@ -1,17 +1,17 @@
services:
jambotron:
image: 'jambotron-image'
container_name: 'jambotron-container'
container_name: 'jambotron-prod-container'
build:
context: ../../
dockerfile: ./src/DevOps/Dockerfile
ports:
# - "8081:80"
- "8443:443"
- "8081:80"
# - "8443:443"
depends_on:
- postgres_jambotron
volumes:
- certs:/certs
# - certs:/certs
- jambotron_data:/jambotron_data
# Mount host Docker socket
- /var/run/docker.sock:/var/run/docker.sock
@@ -23,10 +23,10 @@ services:
DOCKER_HOST: unix:///var/run/docker.sock
SSL_ENABLED: "true"
SERVER_PORT: 443
FULLCHAINPEM: /certs/live/jambotron.run.place/fullchain.pem
PRIVKEYPEM: /certs/live/jambotron.run.place/privkey.pem
# SSL_ENABLED: "true"
# SERVER_PORT: 443
# FULLCHAINPEM: /certs/live/jambotron.run.place/fullchain.pem
# PRIVKEYPEM: /certs/live/jambotron.run.place/privkey.pem
SPRING_DATASOURCE_URL: jdbc:postgresql://postgres_jambotron:5432/jambotronDB
SPRING_DATASOURCE_USERNAME: admin
@@ -56,7 +56,7 @@ services:
postgres_jambotron:
image: 'postgres'
container_name: 'jambotron-postgres-container'
container_name: 'jambotron-prod-postgres-container'
ports:
- "5432:5432"
environment:
@@ -71,7 +71,7 @@ services:
# db_password:
# file: db_password.txt
volumes:
certs:
external: true
# certs:
# external: true
jambotron_data:
# external: true