https://github.com/devflex-pro/archivarix-docker
Archivarix CMS Dockerize
https://github.com/devflex-pro/archivarix-docker
Last synced: 4 months ago
JSON representation
Archivarix CMS Dockerize
- Host: GitHub
- URL: https://github.com/devflex-pro/archivarix-docker
- Owner: devflex-pro
- Created: 2024-10-04T06:05:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-19T23:01:29.000Z (about 1 year ago)
- Last Synced: 2025-07-26T04:54:39.847Z (11 months ago)
- Language: PHP
- Homepage: https://archivarix.com/ru/?ref=4dFGW8KF
- Size: 165 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Archivarix CMS Docker Image

## Description
This repository contains a Docker image for [Archivarix CMS](https://archivarix.com/ru/?ref=4dFGW8KF), designed for deployment using `php:fpm` and Nginx. It also includes GitHub Actions to automate the building and publishing of Docker images to Docker Hub on every push to the main branch or when a new tag is created.
## Project Structure
```
project/
├── archivarix/ # Directory containing Archivarix CMS files
├── .github/
│ └── workflows/
│ └── docker-image.yml # CI/CD configuration file
├── Dockerfile # Dockerfile for building the image based on php-fpm
└── README.md # Project description file
```
## Usage
### 1. Clone the Repository
```bash
git clone https://github.com/devflex-pro/archivarix-cms.git
cd your-repository-name
```
### 2. Build and Run the Docker Container Manually
If you want to build and run the Docker container manually:
```bash
docker build -t devflexpro/archivarix-cms:latest .
docker run -p 8080:80 devflexpro/archivarix-cms:latest
```
### 4. CI/CD Setup
This project is configured for automatic Docker image building and publishing using GitHub Actions. On every push to the main branch or when a new tag (e.g., `v1.0.0`) is created, GitHub Actions will:
1. Check out the repository code.
2. Build the Docker image.
3. Publish it to Docker Hub with the `latest` tag and, if a tag is present, with the corresponding version tag.
## GitHub Actions Configuration
To enable GitHub Actions, you need to add the following secrets to your repository:
- `DOCKER_USERNAME`: Your Docker Hub username.
- `DOCKER_PASSWORD`: Your Docker Hub password or access token.
Secrets can be added through: `Settings` → `Secrets and variables` → `Actions`.
## Environment Variables
You can modify the following environment variables in the `docker-image.yml` if needed:
- `IMAGE_NAME`: The name of the Docker image (default: `your-dockerhub-username/archivarix-cms`).
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.