-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
40 lines (37 loc) · 946 Bytes
/
docker-compose.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
version: "3.2"
services:
stargrad:
command: rails s -b 0.0.0.0 -p 3000
image: 'nicofreeman/private:${COMPOSE_PROJECT_NAME}-rails'
ports: ['2701:3000']
stdin_open: true
tty: true
volumes:
- ./stargrad:/usr/src/pdf-service
- stargrad_gems:/usr/local/bundle
build:
context: ./.docker/
dockerfile: stargrad.dockerfile
args:
- RAILS_VERSION=${RAILS_VERSION}
expose:
- '3000'
pdf:
command: rails s -b 0.0.0.0 -p 3000
image: 'nicofreeman/private:${COMPOSE_PROJECT_NAME}-pdf_service'
ports: ['2702:3000']
stdin_open: true
tty: true
volumes:
- ./pdf-service:/usr/src/pdf-service
- pdf_gems:/usr/local/bundle
build:
context: ./.docker/
dockerfile: pdf_service.dockerfile
args:
- RAILS_VERSION=${RAILS_VERSION}
expose:
- '3000'
volumes:
pdf_gems: {driver: local}
stargrad_gems: {driver: local}