Skip to content
Snippets Groups Projects
Select Git revision
  • 71022c1fca8a5049257f2ba4ca969594f97411dd
  • 2023 default protected
2 results

psmpi-5.7.1-1-intel-compilers-2022.1.0.eb

Blame
  • Commands.txt 644 B
    docker build -t karbach/restapi:v1 .
    docker run -d -p 8080:80 karbach/restapi:v1
    # Including ssl
    docker run -d -p 443:443 -p 80:80 karbach/restapi:v1
    docker exec -ti <container-id> /bin/bash
    # Add volume for data backup
    docker run -d -p 8081:80 -p 4433:443 -v /path/to/folder/on/host:/var/www/html/EventsAPI/data karbach/restapi:v1
    
    # Build with certificates:
    - create folder ./configs/certificates
    - add the files ./configs/certificates/ssl-cert-eventsapi.pem and ./configs/certificates/ssl-cert-eventsapi.key as certificate and key file
    - go into EventsAPI root folder and run ./build_docker.sh
    - launch the container with ./launch_docker.sh