3 Commits

Author SHA1 Message Date
Kshitij 10ec2d1739 Changed to 8080 for backend port. 2025-08-03 21:18:15 +05:30
Kshitij b71c6b5c02 Changes to docker-compose
- changed to "no-new-privileges=true" from ":true"
- added new env vars for backend
- removed volume for frontend and backend
- bumped image version for backend to 1.5
2025-08-03 21:16:36 +05:30
Kshitij 839eee0746 Updated backend submodule. 2025-08-03 21:09:12 +05:30
3 changed files with 25 additions and 22 deletions
+1 -1
Submodule Backend updated: 2622667de4...e1da884fbb
+1 -1
View File
@@ -1 +1 @@
VITE_API_URL=http://localhost:8081 VITE_API_URL=http://localhost:8080
+23 -20
View File
@@ -8,7 +8,7 @@ services:
#- "9000:9000" # Hadoop; No need to expose since backend will access internally #- "9000:9000" # Hadoop; No need to expose since backend will access internally
user: "hdoop:hdoop" user: "hdoop:hdoop"
security_opt: security_opt:
- no-new-privileges:true - no-new-privileges=true
networks: networks:
- skycrate-internal - skycrate-internal
volumes: volumes:
@@ -24,7 +24,7 @@ services:
restart: on-failure:5 restart: on-failure:5
user: "hdoop:hdoop" user: "hdoop:hdoop"
security_opt: security_opt:
- no-new-privileges:true - no-new-privileges=true
networks: networks:
- skycrate-internal - skycrate-internal
volumes: volumes:
@@ -42,7 +42,7 @@ services:
restart: on-failure:10 restart: on-failure:10
user: "hdoop:hdoop" user: "hdoop:hdoop"
security_opt: security_opt:
- no-new-privileges:true - no-new-privileges=true
networks: networks:
- skycrate-internal - skycrate-internal
environment: environment:
@@ -58,7 +58,7 @@ services:
restart: on-failure:5 restart: on-failure:5
user: "hdoop:hdoop" user: "hdoop:hdoop"
security_opt: security_opt:
- no-new-privileges:true - no-new-privileges=true
networks: networks:
- skycrate-internal - skycrate-internal
environment: environment:
@@ -74,7 +74,7 @@ services:
restart: on-failure:5 restart: on-failure:5
user: "hdoop:hdoop" user: "hdoop:hdoop"
security_opt: security_opt:
- no-new-privileges:true - no-new-privileges=true
networks: networks:
- skycrate-internal - skycrate-internal
environment: environment:
@@ -92,13 +92,13 @@ services:
restart: on-failure:5 restart: on-failure:5
user: "1000:1000" user: "1000:1000"
security_opt: security_opt:
- no-new-privileges:true - no-new-privileges=true
networks: networks:
- skycrate-internal - skycrate-internal
environment: environment:
- MYSQL_DATABASE=skycrate - MYSQL_DATABASE=${DB_NAME}
- MYSQL_USER=skycrateDB - MYSQL_USER=${DB_USERNAME}
- MYSQL_PASSWORD=${MYSQL_PASSWORD} - MYSQL_PASSWORD=${DB_PASSWORD}
- MYSQL_RANDOM_ROOT_PASSWORD=yes - MYSQL_RANDOM_ROOT_PASSWORD=yes
volumes: volumes:
- skycrate-db:/var/lib/mysql - skycrate-db:/var/lib/mysql
@@ -111,39 +111,42 @@ services:
restart: on-failure:5 restart: on-failure:5
user: "skycrateFront:skycrateFront" user: "skycrateFront:skycrateFront"
security_opt: security_opt:
- no-new-privileges:true - no-new-privileges=true
networks: networks:
- skycrate-internal - skycrate-internal
ports: ports:
- "80:8080" - "80:8080"
volumes:
- skycrate-frontend:/app
depends_on: depends_on:
- backend - backend
backend: backend:
image: kshitijka/skycrate-backend:1.0 image: kshitijka/skycrate-backend:1.5
container_name: skycrate-backend container_name: skycrate-backend
restart: on-failure:5 restart: on-failure:5
user: "skycrateBack:skycrateBack" user: "skycrateBack:skycrateBack"
security_opt: security_opt:
- no-new-privileges:true - no-new-privileges=true
networks: networks:
- skycrate-internal - skycrate-internal
ports: ports:
- "8081:8081" # If you change, update in Frontend/.env file too and rebuild the image - "8080:8080" # If you change, update in Frontend/.env file too and rebuild the image
environment: environment:
- MYSQL_PASSWORD=${MYSQL_PASSWORD} - JWT_SECRET=${JWT_SECRET} # Eg. dO9Yl9NYJOODug8y9ciMVnVMoH44Q6mXilIlZ2LXXYY=
volumes: - DB_NAME=${DB_NAME}
- skycrate-backend:/app - DB_URI=db:3306
- DB_USERNAME=${DB_USERNAME}
- DB_PASSWORD=${DB_PASSWORD}
- HDFS_URI=hdfs://namenode:9000
- HDFS_USER=hadoopuser
- SSL_PASSWORD=tempP@ass69 # Do not change for now. Future updates will allow you to change it.
env_file:
- .env
volumes: volumes:
skycrate-hadoop_namenode: skycrate-hadoop_namenode:
skycrate-hadoop_datanode: skycrate-hadoop_datanode:
skycrate-hadoop_historyserver: skycrate-hadoop_historyserver:
skycrate-db: skycrate-db:
skycrate-frontend:
skycrate-backend:
networks: networks:
skycrate-internal: skycrate-internal: