Sign inSign up

dandinuro/scriptcase

By dandinuro

Updated 12 months ago

Docker Scriptcase 9.12.030 environment - image with PHP 8.1 + MySQL

Image
Languages & frameworks
0

1.1K

dandinuro/scriptcase repository overview

This is a docker container for scriptcase with the following properties:
  • Docker image based on - Ubuntu:22.04.
  • Scriptcase 9.12.030;
  • PHP 8.1;
  • MySQL.
A. if you want to use YAML file with the possibility to persist data here is the code:

---
services:
  scriptcase-service:
    image: dandinuro/scriptcase
    container_name: scriptcase-app
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Berlin
      - APP_URL=https://subdomain.example.com
    volumes:
      - scriptcase-data:/var/www/html/netmake
    ports:
      - 8097:80/tcp
    tty: true
    dns:
      - 8.8.8.8
      - 8.8.4.4
    restart: unless-stopped

volumes:
  scriptcase-data:
    driver: local
    driver_opts:
      type: none
      device: /home/your_user/your_path/netmake
      o: bind

B. Before running the YAML - kindly update the following:
  1. TZ=Europe/Berlin => update the line as per your location;
  2. APP_URL=https://subdomain.example.com => if you use reverse proxy update the line as per your details;
  3. device: /home/your_user/your_path/netmake => if you want to persist the data on the host server update this line as per your needs;
C. After running the YAML - update "netmake" directory ownership, recursively, from "your_user" and "your_group" to:
  1. User name: www-data
  2. Group name: www-data

Tag summary

Content type

Image

Digest

sha256:508ddd7a7

Size

849.5 MB

Last updated

12 months ago

docker pull dandinuro/scriptcase