appstore-1panel/dockge/metatube-server/docker-compose.yml
2024-11-28 09:03:16 +00:00

28 lines
721 B
YAML

networks:
1panel-network:
external: true
services:
metatube-server:
command: -dsn "postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_NAME}"
-port 8080 -db-auto-migrate -db-prepared-stmt
container_name: metatube-server
env_file:
- ./envs/global.env
- .env
environment:
- HTTPS_PROXY=${HTTP_PROXY}
- DB_MAX_IDLE_CONNS=0
- DB_MAX_OPEN_CONNS=0
- DB_PREPARED_STMT=false
- DB_AUTO_MIGRATE=true
image: metatube/metatube-server:1.2.8
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:8080
restart: always
volumes:
- ${METATUBE_ROOT_PATH}/data:/var/run