Sign inSign up

skyformhpc/appspace-backend

By skyformhpc

•Updated over 2 years ago

skyform appspace backend instance based on nslcd, php-fpm and java service

Image
0

172

skyformhpc/appspace-backend repository overview

⁠Quick reference

⁠Supported tags

  • v10.0

⁠Prerequisities

In order to run this container you'll need docker installed.

⁠Usage

⁠Environment Variables
  • ENV JAVA_TOOL_OPTIONS="-Xms256m -Xmx2044m"

⁠Useful File Locations
  • /skyform-appspace/appspace-service/config/logback.xml - logging configure file of appspace service
  • /skyform-appspace/appspace-service/config/application.yml - application yml config file of appspace service

⁠Examples

Running the container

docker run -d -it --name appspace-backend skyformhpc/appspace-backend:v10.0

⁠... via docker-compose⁠

Example docker-compose.yml for appspace-service:

version: '2.3'
services:
  backend:
    image: skyformhpc/appspace-backend:v10.0
    container_name: backend
    network_mode: "host"
    restart: always
    healthcheck:
      interval: 5s
      retries: 120
      timeout: 3s
      test: [ "CMD-SHELL", "healthcheck.sh" ]
    volumes:
      - ./common/certs:/certs
      - /etc/localtime:/etc/localtime:ro
      - /skyformdata/log/php-fpm:/var/log/php-fpm
      - /skyformdata/log/appspace:/skyform-appspace/appspace-service/logs
      - /skyformdata/log/gateway:/skyform-appspace/appspace-gateway/logs
      - /share/home:/share/home
      - /share/appspace_data/projects:/share/appspace_data/projects
      - /share/appspace_data/shared_groups:/share/appspace_data/shared_groups
      - /share/appspace_data/app_scripts:/share/appspace_data/app_scripts
      - /share/appspace_data/upload_data:/share/appspace_data/upload_data
      - /etc/profile.d/aip.sh:/etc/profile.d/aip.sh
      - /share/apps/skyformai_shared:/share/apps/skyformai_shared
      - /opt/skyformai:/opt/skyformai
      - type: bind
        source: ./common/config/nslcd/nslcd.conf
        target: /etc/nslcd.conf
      - type: bind
        source: ./common/config/php-fpm/www.conf
        target: /etc/php-fpm.d/www.conf
      - type: bind
        source: ./common/config/appspace/ttyd-launcher.sh
        target: /skyformaip-tools/bin/ttyd-launcher.sh
      - type: bind
        source: ./common/config/appspace/application.yml
        target: /skyform-appspace/appspace-service/config/application.yml
      - type: bind
        source: ./common/config/appspace/logback.xml
        target: /skyform-appspace/appspace-service/config/logback.xml
      - type: bind
        source: ./common/config/gateway/application.yml
        target: /skyform-appspace/appspace-gateway/config/application.yml
    environment:
      JAVA_TOOL_OPTIONS: "-Xms256m -Xmx2048m"
    depends_on:
      redis:
        condition: service_healthy
      mariadb:
        condition: service_healthy

⁠Built With

  • Docker version 25.0.3, build 4debf41

Tag summary

Content type

Image

Digest

sha256:ae0729e04…

Size

494.2 MB

Last updated

over 2 years ago

docker pull skyformhpc/appspace-backend:v10.0