https://github.com/bastidood/dockerify-osticket
Deploy osTicket with Docker! 🐳
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.7%) to scientific vocabulary
Keywords
Repository
Deploy osTicket with Docker! 🐳
Basic Info
Statistics
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
osTicket for Docker!
This repository contains various automation scripts for managing osTicket in a Docker container.
Git Submodules
The project uses Git Submodules to pull the latest version of osTicket. Alternatively, one may pin the submodule to a specific tag/release/commit.
```bash
Clone this repository while recursing on the submodules.
git clone --depth 1 --recurse-submodules --shallow-submodules https://github.com/BastiDood/dockerify-osTicket.git
Get all the tags from the remote for each submodule.
In our case, osTicket is the only submodule.
git submodule foreach 'git fetch --tags' ```
Environment Variables
See the different ways to inject environment variables into the Docker build. Note that the docker-compose.yml file has been configured to accept a mysql.env file in the repository root.
Name | Description | Required | Default
-------- | --------------- | :----------: | ----------:
MYSQL_ROOT_PASSWORD | Default password of the root user in the MySQL database. | ✔ |
MYSQL_DATABASE | Default name for the newly created database for osTicket. | ❌ | osticket
MYSQL_USER | Default username for the non-root MySQL user. | ❌ | user
MYSQL_PASSWORD | Default password for the non-root MySQL user. | ✔ |
Note that the Docker container for MySQL supports more environment variables. Moreover, the MySQL database itself honors additional environment variables.
Docker Compose
```bash
Start the PHP and MySQL containers in the background.
docker compose up -d
Run the setup command into /var/www/html.
docker compose exec --workdir /web/osTicket web ./manage.php deploy -g --setup /var/www/html/
Rename ost-sampleconfig.php => ost-config.php.
docker compose exec web cp -vn /var/www/html/include/ost-sampleconfig.php /var/www/html/include/ost-config.php
If this is the first setup, make sure to make the configuration file
writable by the setup wizard at http://localhost/setup/install.php.
docker compose exec web chmod 0666 /var/www/html/include/ost-config.php
Complete the setup wizard at http://localhost/setup/install.php...
After finishing the setup wizard at http://localhost/setup/install.php,
set the ost-config.php back to read-only for extra security.
docker compose exec web chmod 0644 /var/www/html/include/ost-config.php
Also, don't forget to remove the setup folder when we're done!
docker compose exec web rm -rf /var/www/html/setup
Tear down the web and database containers.
docker compose down ```
Owner
- Name: Basti Ortiz
- Login: BastiDood
- Kind: user
- Location: Philippines
- Twitter: BastiDood
- Repositories: 2
- Profile: https://github.com/BastiDood
Just some dood hoping to make a career out of typing programming jargon to make stuff work.
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 12 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0