This repository contains a Docker image for Archivarix CMS, 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/
├── 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
git clone https://github.com/devflex-pro/archivarix-cms.git
cd your-repository-name
If you want to build and run the Docker container manually:
docker build -t devflexpro/archivarix-cms:latest .
docker run -p 8080:80 devflexpro/archivarix-cms:latest
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:
- Check out the repository code.
- Build the Docker image.
- Publish it to Docker Hub with the
latest
tag and, if a tag is present, with the corresponding version tag.
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
.
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
).
This project is licensed under the MIT License. See the LICENSE file for more details.