https://github.com/aquaron/anf-large
ANF Large Server
https://github.com/aquaron/anf-large
Last synced: 3 months ago
JSON representation
ANF Large Server
- Host: GitHub
- URL: https://github.com/aquaron/anf-large
- Owner: aquaron
- Created: 2016-11-30T22:04:04.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-29T21:11:20.000Z (over 7 years ago)
- Last Synced: 2025-01-20T07:46:15.769Z (4 months ago)
- Homepage: https://store.docker.com/community/images/aquaron/anf-large/
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ANF Large Image
Based on [ANF Base Image](https://github.com/aquaron/anf).
This image attempts to include all CPAN modules needed to run most features for a general purpose site.# Quick Start
### Get Image
```
$ docker pull aquaron/anf-large[:ovn|debian]
```### Initialize Enviornment
All options are required:
```
$ docker run -it --rm \
-v /var/run/docker.sock:/var/run/docker.sock \
-v :/usr/share/nginx \
-v :/etc/nginx \
-v :/var/log/nginx \
-p :80 \
-h \
--name \
aquaron/anf-large \
init
```Sample:
```
$ docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock \
-v /usr/www-data:/usr/share/nginx \
-v /etc/nginx:/etc/nginx \
-v /var/log/nginx:/var/log/nginx \
-p 9992:80 -h debiannginx --name dnf-large aquaron/anf-large:debian init
```### Install Startup Script
```
$ cd /etc/nginx
$ sudo ./install-systemd.sh
```### Start Server
Start using `systemctl`:
```
$ systemctl start docker-dnf-large.service
```Start using `docker`:
```
$ docker run -d -v /var/run/docker.sock:/var/run/docker.sock \
-v /usr/www-data:/usr/share/nginx \
-v /etc/nginx:/etc/nginx \
-v /var/log/nginx:/var/log/nginx \
-p 9992:80 -h debiannginx --name dnf-large aquaron/anf-large:debian
```### Stop Server
```
$ systemctl stop docker-dnf-large
```Or, with `docker`:
```
$ docker stop -t 2 dnf-large
$ docker rm dnf-large
```