mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
18 lines
377 B
Go
18 lines
377 B
Go
version: '3'
|
|
services:
|
|
worker:
|
|
image: crawlab:worker
|
|
container_name: crawlab-worker
|
|
volumes:
|
|
- $PWD/conf/config.yml:/opt/crawlab/conf/config.yml
|
|
# 二进制包使用源码生成
|
|
- $PWD/crawlab:/usr/local/bin/crawlab
|
|
networks:
|
|
- crawlabnet
|
|
|
|
networks:
|
|
crawlabnet:
|
|
ipam:
|
|
driver: default
|
|
config:
|
|
- subnet: 172.30.0.0/16 |