diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..efb8091 --- /dev/null +++ b/docker-compose.yml @@ -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"