Add Dockerfile and docker-compose.yml

This provides a Dockerfile with an docker-compose.yml to install ifconfig.io on a Docker Server
This commit is contained in:
Malte Reddig
2020-10-05 13:38:38 +02:00
committed by George Shammas
parent e9feea4898
commit 042e135147
3 changed files with 54 additions and 0 deletions

13
docker-compose.yml Normal file
View File

@@ -0,0 +1,13 @@
version: "3.4"
services:
ifconfig:
image: ifconfig.io:latest
build:
context: ./
target: production
ports:
- ${PORT:-8080}:8080
environment:
TLS: ${TLS:-0}
HOSTNAME: ${HOSTNAME}