File tree Expand file tree Collapse file tree 2 files changed +10
-15
lines changed Expand file tree Collapse file tree 2 files changed +10
-15
lines changed Original file line number Diff line number Diff line change 1
1
FROM ruby:2.4.3-alpine
2
2
3
3
RUN apk add --no-cache \
4
+ bash \
4
5
build-base \
5
- postgresql-dev
6
+ postgresql-dev \
7
+ postgresql
6
8
7
9
WORKDIR /tmp
8
10
COPY Gemfile* ./
Original file line number Diff line number Diff line change 1
- version : ' 3.3 '
1
+ version : ' 3.4 '
2
2
3
3
services :
4
- lb :
5
- image : jfahrer/lb:latest
6
- environment :
7
- - PROXY_UPSTREAM=app:9494
8
- ports :
9
- - 80:80
10
-
11
4
app :
12
5
image : jfahrer/webapp-ruby:latest
13
6
build :
@@ -29,10 +22,10 @@ services:
29
22
volumes :
30
23
- ./sql/create_table.sql:/docker-entrypoint-initdb.d/create_table.sql
31
24
32
- client :
33
- image : jfahrer/checker-u-dev-a3 :latest
25
+ lb :
26
+ image : jfahrer/lb :latest
34
27
environment :
35
- - POSTGRES_USER=demo
36
- - POSTGRES_PASSWORD=secret
37
- - POSTGRES_DB=demo
38
- - POSTGRES_HOST=pg
28
+ - PROXY_UPSTREAM=app:9494
29
+ ports :
30
+ - 80:80
31
+
You can’t perform that action at this time.
0 commit comments