Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/namikazebadri/starterkit-yii
Yii project template with a lot of basic project must-have features, such as containerization and deployments to GCR, ECR, Dockerhub and regular old VM using Github Actions. Also Unit Test, Code Coverage, Static Analysis and Staged Flow (such as dev, staging, uat and production) are part of this project template repository.
https://github.com/namikazebadri/starterkit-yii
docker-image dockerhub php7 project-template yii yii-application
Last synced: about 2 months ago
JSON representation
Yii project template with a lot of basic project must-have features, such as containerization and deployments to GCR, ECR, Dockerhub and regular old VM using Github Actions. Also Unit Test, Code Coverage, Static Analysis and Staged Flow (such as dev, staging, uat and production) are part of this project template repository.
- Host: GitHub
- URL: https://github.com/namikazebadri/starterkit-yii
- Owner: namikazebadri
- License: mit
- Created: 2021-04-05T07:40:39.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-04-16T13:49:04.000Z (over 3 years ago)
- Last Synced: 2024-10-11T21:41:30.114Z (2 months ago)
- Topics: docker-image, dockerhub, php7, project-template, yii, yii-application
- Language: PHP
- Homepage:
- Size: 50.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Yii Docker Image
Build docker image for Yii application.
## Build Image
To build image run this command (__change the tag name & version with your preferred tag name & version__).`$ docker build . -t myorganization/myimage:1.0.0`
## Running Container from Image
To create a container from the image, run this command (__change the tag name & version with your preferred tag name & version__).
`$ docker run -d -p 8080:8080 --name yii-app myorganization/myimage:1.0.0`
Then you can access the app from the browser with this url: `http://127.0.0.1:8080`
## Dockerhub image
This repository is proven by running build in Dockerhub, you can see the result [here](https://hub.docker.com/r/namikazebadri/yii-app).