Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paulo-correia/docker_apache_htaccess
Apache HTACCESS on Docker
https://github.com/paulo-correia/docker_apache_htaccess
alpine apache docker dockerfile htaccess
Last synced: 16 days ago
JSON representation
Apache HTACCESS on Docker
- Host: GitHub
- URL: https://github.com/paulo-correia/docker_apache_htaccess
- Owner: paulo-correia
- Created: 2020-05-05T18:00:48.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-05T18:15:43.000Z (almost 5 years ago)
- Last Synced: 2024-11-21T06:37:54.440Z (3 months ago)
- Topics: alpine, apache, docker, dockerfile, htaccess
- Language: Dockerfile
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Apache HTACCESS on Docker (Alpine Linux Image)
## Save Dockerfile on a folder Ex: Apache
**Caution: Only one dockerfile per folder**### Generate image
docker build -t `` .
`` = Ex: apache or your_docker_hub_name/apache:1.0
### Running Container
docker run -d -p ``:80 ``
`` = Ex 8080
### If don't generate image, get from docker hub
docker run -d -p ``:80 paulocorreia/alpine_apache_htaccess:1.0
### Open Browser
`http://localhost:`Default user is **sample**
Default password is **test**
If `` is 80 you can omit
If ask for user and password and before you type the default you see "It works on Docker HTACCESS!" is OK