docker docs
parent
886bd1e38e
commit
1728229fab
|
@ -0,0 +1,21 @@
|
||||||
|
# Building
|
||||||
|
|
||||||
|
## Composer
|
||||||
|
|
||||||
|
`todo`
|
||||||
|
|
||||||
|
## Docker build
|
||||||
|
|
||||||
|
* **Tip:** Tag `ghcr.io/rodber/chevereto-free-httpd-php:1.6` to override the [ghcr package](https://github.com/orgs/rodber/packages?repo_name=chevereto-free) with local
|
||||||
|
|
||||||
|
```sh
|
||||||
|
docker build -t ghcr.io/rodber/chevereto-free-httpd-php:1.6 . \
|
||||||
|
-f httpd-php.Dockerfile
|
||||||
|
```
|
||||||
|
|
||||||
|
* For custom tag: Replace `tag` with your own.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
docker build -t rodber/chevereto-free-httpd-php:tag . \
|
||||||
|
-f httpd-php.Dockerfile
|
||||||
|
```
|
|
@ -0,0 +1,42 @@
|
||||||
|
# Compose
|
||||||
|
|
||||||
|
Compose file: [httpd-php.yml](../httpd-php.yml)
|
||||||
|
|
||||||
|
## Up
|
||||||
|
|
||||||
|
Run this command to spawn (start) Chevereto-Free.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
docker-compose \
|
||||||
|
-p chevereto-free \
|
||||||
|
-f httpd-php.yml \
|
||||||
|
up --abort-on-container-exit
|
||||||
|
```
|
||||||
|
|
||||||
|
[localhost:8810](http://localhost:8810)
|
||||||
|
|
||||||
|
## Stop
|
||||||
|
|
||||||
|
Run this command to stop Chevereto-Free.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
docker-compose \
|
||||||
|
-p chevereto-free \
|
||||||
|
-f httpd-php.yml \
|
||||||
|
stop
|
||||||
|
```
|
||||||
|
|
||||||
|
### Down (uninstall)
|
||||||
|
|
||||||
|
Run this command to down Chevereto (stop containers, remove networks and volumes created by it).
|
||||||
|
|
||||||
|
```sh
|
||||||
|
docker-compose \
|
||||||
|
-p chevereto-free \
|
||||||
|
-f httpd-php.yml \
|
||||||
|
down --volumes
|
||||||
|
```
|
||||||
|
|
||||||
|
## Logs
|
||||||
|
|
||||||
|
`todo`
|
Loading…
Reference in New Issue