forked from aquariumbio/aquarium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
45 lines (42 loc) · 1.35 KB
/
docker-compose.dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Development docker-compose file for aquarium
#
# Extends the base docker-compose.yml file with details for the development
# environment.
#
# See the file docker-compose.yml for details on changing or resetting the
# database.
#
version: "3.5"
services:
app:
build:
context: .
target: aquarium
image: aquarium
command: ["development"]
volumes:
- ./app:/aquarium/app
- ./docs:/aquarium/docs
- ./lib:/aquarium/lib
- ./spec:/aquarium/spec
- ./test:/aquarium/test
- ./ui:/aquarium/ui
- ./docker/aquarium/database.yml:/aquarium/config/database.yml
- ./docker/aquarium/aquarium.rb:/aquarium/config/initializers/aquarium.rb
- ./docker/aquarium/development.rb:/aquarium/config/environments/development.rb
- ./Gemfile.lock:/aquarium/Gemfile.lock
- ./yarn.lock:/aquarium/yarn.lock
krill:
image: aquarium
command: ["development"]
volumes:
- ./lib:/aquarium/lib
- ./docker/aquarium/database.yml:/aquarium/config/database.yml
- ./docker/aquarium/aquarium.rb:/aquarium/config/initializers/aquarium.rb
- ./docker/aquarium/development.rb:/aquarium/config/environments/development.rb
web:
command: [nginx-debug, "-g", "daemon off;"]
ports:
- "3000:3000"
volumes:
- ./docker/nginx.development.conf:/etc/nginx/conf.d/default.conf:ro