networks:
  1panel-network:
    external: true

services:
  smanga:
    image: lkw199711/smanga-nodejs:4.2.87
    container_name: ${CONTAINER_NAME}
    labels:
      createdBy: "Apps"
    restart: always
    networks:
      - 1panel-network
    ports:
      - ${PANEL_APP_PORT_HTTP}:9797
    volumes:
      - ${SMANGA_ROOT_PATH}/data:/data
      - ${SMANGA_COMPRESS_PATH}:/compress
      - ${SMANGA_ROOT_PATH}/config:/config
      - ${SMANGA_ROOT_PATH}/mysql:/var/lib/mysql
    environment:
      - TZ=Asia/Shanghai
      - HTTPS_PROXY=${HTTP_PROXY:-}
