-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (41 loc) · 881 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (41 loc) · 881 Bytes
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
version: '3'
services:
web:
build:
context: .
ports:
- "3000:3000"
volumes:
- .:/app:cached
- ../etsource:/etsource:cached
- bundle:/usr/local/bundle
- node_modules:/app/node_modules
- packs:/app/public/packs
- rails_cache:/app/tmp/cache
- storage:/app/storage
env_file:
- .docker/env/development/database
- .docker/env/development/web
tmpfs:
- /tmp
- /app/tmp/pids
depends_on:
database:
condition: service_healthy
database:
image: mariadb:10
command: --default-authentication-plugin=mysql_native_password
env_file:
- .docker/env/development/database
healthcheck:
test: mysqladmin ping
interval: 2s
volumes:
- db_data:/var/lib/mysql
volumes:
bundle:
db_data:
node_modules:
packs:
rails_cache:
storage: