-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (47 loc) · 927 Bytes
/
docker-compose.yml
File metadata and controls
51 lines (47 loc) · 927 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
45
46
47
48
49
50
51
version: '1.0.0'
services:
redis:
image: redis:7
ports:
- '6379:6379'
expose:
- '6379'
environment:
TERM: xterm-256color
db:
image: postgres:14
environment:
TZ: America/Fortaleza
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
TERM: xterm-256color
ports:
- '5432:5432'
expose:
- '5432'
web:
build: .
stdin_open: true
tty: true
entrypoint: config/setup_app.sh
command: bash -c "rails s -p 3000 -b '0.0.0.0'"
environment:
TZ: America/Fortaleza
TERM: xterm-256color
env_file:
- ./.env.development
volumes:
- .:/home/app/web
ports:
- '3000:3000'
worker:
build:
context: .
dockerfile: ./worker/Dockerfile
environment:
TZ: America/Fortaleza
TERM: xterm-256color
env_file:
- ./.env.development
volumes:
- .:/home/app/web