networks:
  1panel-network:
    external: true

services:
  artalk:
    image: artalk/artalk-go:2.9.1
    container_name: ${CONTAINER_NAME}
    labels:
      createdBy: "Apps"
    restart: always
    networks:
      - 1panel-network
    ports:
      - ${PANEL_APP_PORT_HTTP}:23366
    env_file:
      - ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
      - ${ENV_FILE:-/etc/1panel/envs/default.env}
    volumes:
      - ${ARTALK_ROOT_PATH}/data:/data
    environment:
      - TZ=Asia/Shanghai
      - ATK_DEBUG=false
      - ATK_HOST=0.0.0.0
      - ATK_PORT=23366
      - ATK_IP_REGION_ENABLED=true
      - ATK_DB_TABLE_PREFIX=atk_
