OSDN Git Service

Regular updates
[twpd/master.git] / docker-compose.yml
1 version: '3'
2 services:
3   web:
4     build: .
5     volumes:
6       - .:/app
7       - rubygems:/usr/local/bundle
8       - ./node_modules:/app/node_modules
9       - yarn_cache:/root/.cache/yarn
10     ports:
11       - '4001:4001'
12       - '35729:35729'
13     command: >
14       bash -c 'yarn; bundle; env PORT=4001 HOST=0.0.0.0 yarn run dev'
15
16 volumes:
17   rubygems:
18   node_modules:
19   yarn_cache: