chore: adding docker-compose.yml

* it's in fact going to be docker-compose deployment
This commit is contained in:
surtur 2020-10-03 19:56:20 +02:00
parent 62095aa378
commit f449013be8
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

23
docker-compose.yml Normal file

@ -0,0 +1,23 @@
version: '3'
services:
homepage:
container_name: homepage
build:
context: .
image: homepage
networks:
- default
restart: unless-stopped
ports:
- "127.0.0.1:1314:80"
environment:
- ENABLE_IPV6=true
volumes:
- "/var/run/docker.sock:/tmp/docker.sock:ro"
labels:
"homepage": "true"
logging:
driver: json-file
options:
max-size: "5m"
max-file: "5"