Skip to content
Snippets Groups Projects
README.md 1.67 KiB
Newer Older
Griefed's avatar
Griefed committed
# ICEcoder-Container
https://github.com/icecoder/ICEcoder in a container!
Griefed's avatar
Griefed committed

Griefed's avatar
Griefed committed
![Docker Pulls](https://img.shields.io/docker/pulls/griefed/icecoder?style=flat-square)
![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/griefed/icecoder?label=Image%20size&sort=date&style=flat-square)
![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/griefed/icecoder?label=Docker%20build&style=flat-square)
![Docker Cloud Automated build](https://img.shields.io/docker/cloud/automated/griefed/icecoder?label=Docker%20build&style=flat-square)
![GitHub Repo stars](https://img.shields.io/github/stars/Griefed/docker-ICEcoder?label=GitHub%20Stars&style=social)
![GitHub forks](https://img.shields.io/github/forks/Griefed/docker-ICEcoder?label=GitHub%20Forks&style=social)

Griefed's avatar
Griefed committed
Creates a Container which runs [icecoder's](https://github.com/icecoder) [ICEcoder](https://github.com/icecoder/ICEcoder) with, [php:alpine](https://hub.docker.com/_/php) as the base image, as seen on https://icecoder.net/


Griefed's avatar
Griefed committed
# Deploy with docker-compose:
```
  icecoder:
    container_name: icecoder
    image: griefed/icecoder
    restart: unless-stopped
    ports:
      - 8080:8080
```
Griefed's avatar
Griefed committed
### Deploy on Rasbperry Pi
Griefed's avatar
Griefed committed
Using the Dockerfile, this container can be built and run on a Raspberry Pi, too! I've tested it on a Raspberry Pi 3B+.
Griefed's avatar
Griefed committed
Simply put the Dockerfile in a directory called `ICEcoder` in the same directory as your docker-compose.yml, edit your docker-compose.yml:
Griefed's avatar
Griefed committed
```
  icecoder:
    container_name: icecoder
Griefed's avatar
Griefed committed
    build: ./ICEcoder/
Griefed's avatar
Griefed committed
    restart: unless-stopped
    ports:
      - 8080:8080
```
Griefed's avatar
Griefed committed
Then build with:
Griefed's avatar
Griefed committed
```
docker-compose up -d --build icecoder
```
Griefed's avatar
Griefed committed
![ICEcoder](https://i.imgur.com/hNjOkVK.png)