mirror of https://github.com/fspc/workstand.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
633 B
32 lines
633 B
version: "2"
|
|
services:
|
|
workstand:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile-dev
|
|
command: python manage.py runserver 0.0.0.0:8000
|
|
ports:
|
|
- "8000:8000"
|
|
volumes:
|
|
- ./bikeshop_project:/code
|
|
volumes_from:
|
|
- webpack
|
|
environment:
|
|
- PYTHONUNBUFFERED=0
|
|
restart: always
|
|
redis:
|
|
restart: always
|
|
db:
|
|
restart: always
|
|
webpack:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile-webpack
|
|
command: "npm run watch"
|
|
ports:
|
|
- "3000:3000"
|
|
restart: always
|
|
volumes:
|
|
- /code/node_modules
|
|
- /code/vendor
|
|
- ./bikeshop_project:/code:rw
|
|
|