appstore-1panel/apps/onedev/10.4.0/docker-compose.yml

19 lines
410 B
YAML
Raw Normal View History

2024-04-02 16:19:15 +08:00
services:
onedev:
image: 1dev/server:10.4.0
2024-04-02 16:19:15 +08:00
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:6610"
- "${PANEL_APP_PORT_SSH}:6611"
volumes:
- ./data:/opt/onedev
2024-04-02 16:29:30 +08:00
- /var/run/docker.sock:/var/run/docker.sock
2024-04-02 16:19:15 +08:00
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true