magnetico-web/docker-compose.yml
2022-07-06 02:17:26 +03:00

23 lines
621 B
YAML

version: '3.7'
services:
magnetico-web:
image: skobkin/magnetico-web
build:
context: .
container_name: magnetico-web
hostname: magnetico-web
extra_hosts:
- 'host.docker.internal:host-gateway'
ports:
- "127.0.0.1:${EXT_HTTP_PORT:-8080}:8080/tcp"
restart: unless-stopped
user: "$UID"
volumes:
- "${LOG_PATH:-./var/log}:/app/var/log"
logging:
driver: "json-file"
options:
max-size: "${LOG_MAX_SIZE:-5m}"
max-file: "${LOG_MAX_FILE:-5}"