Created
October 25, 2024 02:07
-
-
Save ajlowndes/c2e2f2281d7a7377906b0623f110b57d to your computer and use it in GitHub Desktop.
ResourceSpace Portainer install stack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.9' | |
| services: | |
| resourcespace: | |
| image: suntorytimed/resourcespace:latest | |
| container_name: ResourceSpace | |
| hostname: resourcespace | |
| restart: unless-stopped | |
| ports: | |
| - "8190:80" | |
| depends_on: | |
| db: | |
| condition: service_started | |
| volumes: | |
| - /volume1/docker/resourcespace/include:/var/www/resourcespace/include:rw | |
| - /volume1/docker/resourcespace/filestore:/var/www/resourcespace/filestore:rw | |
| environment: | |
| RS_DB_HOST: db | |
| RS_DB_NAME: resourcespace_db | |
| RS_DB_USER: rs_user | |
| RS_DB_PASSWORD: RS^Pass123^Change #<--CHANGE THIS AND REMOVE THIS COMMENT | |
| TZ: Australia/Melbourne #<-- CHANGE IF NECESSARY, OTHERWISE JUST REMOVE THIS COMMENT | |
| PHP_MEMORY_LIMIT: "512M" | |
| PHP_POST_MAX_SIZE: "512M" | |
| PHP_UPLOAD_MAX_FILESIZE: "512M" | |
| db: | |
| image: mariadb:11.3-jammy | |
| container_name: ResourceSpace-DB | |
| hostname: resourcespace-db | |
| restart: unless-stopped | |
| security_opt: | |
| - no-new-privileges:true | |
| environment: | |
| MYSQL_DATABASE: resourcespace_db | |
| MYSQL_USER: rs_user | |
| MYSQL_PASSWORD: RS^Pass123^Change #<--CHANGE THIS (SAME AS ABOVE) AND REMOVE THIS COMMENT | |
| MYSQL_ROOT_PASSWORD: RS^Root123^Change #<--CHANGE THIS AND REMOVE THIS COMMENT | |
| TZ: Australia/Melbourne #<-- CHANGE IF NECESSARY, OTHERWISE JUST REMOVE THIS COMMENT | |
| volumes: | |
| - /volume1/docker/resourcespace/db:/var/lib/mysql:rw | |
| command: --max_allowed_packet=128M --wait_timeout=28800 | |
| phpmyadmin: | |
| image: phpmyadmin | |
| container_name: ResourceSpace-phpMyAdmin | |
| hostname: resourcespace-phpmyadmin | |
| restart: unless-stopped | |
| ports: | |
| - "8191:80" | |
| environment: | |
| PMA_HOST: db | |
| PMA_PORT: 3306 | |
| TZ: Australia/Melbourne #<-- CHANGE IF NECESSARY, OTHERWISE JUST REMOVE THIS COMMENT | |
| depends_on: | |
| - db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment