-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
58 lines (53 loc) · 1.13 KB
/
docker-compose.yml
File metadata and controls
58 lines (53 loc) · 1.13 KB
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
58
version: '3'
services:
rails:
build:
dockerfile: docker/development/Dockerfile
context: .
image: do-zero-rails
env_file: .env
stdin_open: true
tty: true
volumes:
- .:/project
- bundle_data:/bundle
- $HOME/.ssh:/project/docker/development/home/.ssh
ports:
- 3000:3000
depends_on:
- postgres
postgres:
image: postgres:13
environment:
POSTGRES_USER: username
POSTGRES_PASSWORD: password
volumes:
- postgres_data:/var/lib/postgresql/data
# sidekiq:
# build:
# dockerfile: docker/development/Dockerfile
# context: .
# image: rails
# entrypoint: "docker/development/sidekiq-entrypoint"
# env_file: .env
# stdin_open: true
# tty: true
# volumes:
# - .:/project
# - bundle_data:/bundle
# - $HOME/.ssh:/project/docker/development/home/.ssh
# depends_on:
# - redis
# networks:
# - default
# redis:
# image: redis:6
# restart: on-failure
# ports:
# - 6379:6379
# volumes:
# - redis_data:/data
volumes:
bundle_data:
postgres_data:
# redis_data: