source: trunk/docker-compose.yml

Last change on this file was 58a023e, checked in by Brian Warner <warner@…>, at 2017-09-19T16:25:39Z

add dockerfile for hacking with docker compose file for local environment

  • Property mode set to 100644
File size: 1.4 KB
Line 
1version: '2'
2services:
3  client:
4    build:
5      context: .
6      dockerfile: ./Dockerfile.dev
7    volumes:
8      - ./misc:/root/tahoe-lafs/misc
9      - ./integration:/root/tahoe-lafs/integration
10      - ./src:/root/tahoe-lafs/static
11      - ./setup.cfg:/root/tahoe-lafs/setup.cfg
12      - ./setup.py:/root/tahoe-lafs/setup.py
13    ports:
14      - "127.0.0.1:3456:3456"
15    depends_on:
16      - "introducer"
17      - "server"
18    entrypoint: /root/tahoe-lafs/venv/bin/tahoe
19    command: ["run", "/root/.tahoe-client"]
20  server:
21    build:
22      context: .
23      dockerfile: ./Dockerfile.dev
24    volumes:
25      - ./misc:/root/tahoe-lafs/misc
26      - ./integration:/root/tahoe-lafs/integration
27      - ./src:/root/tahoe-lafs/static
28      - ./setup.cfg:/root/tahoe-lafs/setup.cfg
29      - ./setup.py:/root/tahoe-lafs/setup.py
30    ports:
31      - "127.0.0.1:3457:3457"
32    depends_on:
33      - "introducer"
34    entrypoint: /root/tahoe-lafs/venv/bin/tahoe
35    command: ["run", "/root/.tahoe-server"]
36  introducer:
37    build:
38      context: .
39      dockerfile: ./Dockerfile.dev
40    volumes:
41      - ./misc:/root/tahoe-lafs/misc
42      - ./integration:/root/tahoe-lafs/integration
43      - ./src:/root/tahoe-lafs/static
44      - ./setup.cfg:/root/tahoe-lafs/setup.cfg
45      - ./setup.py:/root/tahoe-lafs/setup.py
46    ports:
47      - "127.0.0.1:3458:3458"
48    entrypoint: /root/tahoe-lafs/venv/bin/tahoe
49    command: ["run", "/root/.tahoe-introducer"]
Note: See TracBrowser for help on using the repository browser.