mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
31 lines
478 B
YAML
31 lines
478 B
YAML
|
|
db:
|
||
|
|
image: mysql
|
||
|
|
volumes:
|
||
|
|
- ~/.docker-volumes/openproject/db:/var/lib/mysql
|
||
|
|
expose:
|
||
|
|
- "3306"
|
||
|
|
environment:
|
||
|
|
- MYSQL_ALLOW_EMPTY_PASSWORD=true
|
||
|
|
|
||
|
|
worker: &ruby
|
||
|
|
build: .
|
||
|
|
volumes:
|
||
|
|
- .:/usr/src/app
|
||
|
|
links:
|
||
|
|
- db
|
||
|
|
environment:
|
||
|
|
- "RAILS_CACHE_STORE=file_store"
|
||
|
|
command: "./docker/worker"
|
||
|
|
|
||
|
|
web:
|
||
|
|
<<: *ruby
|
||
|
|
ports:
|
||
|
|
- "8080:8080"
|
||
|
|
command: "./docker/web"
|
||
|
|
|
||
|
|
frontend:
|
||
|
|
build: .
|
||
|
|
volumes:
|
||
|
|
- .:/usr/src/app
|
||
|
|
command: "./docker/webpack-watch"
|