-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yml
57 lines (53 loc) · 1.56 KB
/
docker-compose.override.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
46
47
48
49
50
51
52
53
54
55
56
57
# 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-development
image: aquarium-development
command: ["development"]
environment:
ENABLE_SORBET_RUNTIME_ERRORS: "true"
volumes:
- ./app:/aquarium/app
- ./components:/aquarium/components
- ./config:/aquarium/config
- ./coverage:/aquarium/coverage
- ./docs:/aquarium/docs
- ./lib:/aquarium/lib
- ./sorbet:/aquarium/sorbet
- ./spec:/aquarium/spec
- ./test:/aquarium/test
- ./ui:/aquarium/ui
- ./Gemfile.lock:/aquarium/Gemfile.lock
- ./package.json:/aquarium/package.json
- ./yarn.lock:/aquarium/yarn.lock
- ./.rubocop.yml:/aquarium/.rubocop.yml
- ./.rubocop_todo.yml:/aquarium/.rubocop_todo.yml
krill:
image: aquarium-development
command: ["krill", "development"]
volumes:
- ./config:/aquarium/config
- ./lib:/aquarium/lib
web:
command: [nginx-debug, "-g", "daemon off;"]
ports:
- "${DEV_PUBLIC_PORT:-3000}:3000"
- "${S3_PUBLIC_PORT:-9000}:9000"
volumes:
- ./docker/nginx.development.conf:/etc/nginx/conf.d/default.conf:ro
db:
ports:
- "${EXTERNAL_DB_PORT:-3307}:3306"
volumes:
- ./data/db/development:/var/lib/mysql
- ./docker/mysql_init/dump.sql:/docker-entrypoint-initdb.d/dump.sql