File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Use Alpine Linux as base image
2
- FROM alpine:3.8
2
+ FROM alpine:3.11.6
3
3
4
4
# Install libpq and gmp dependencies (dynamic libraries required by the project)
5
5
RUN apk update && apk add libpq gmp libffi
@@ -18,6 +18,6 @@ ENV PGWS_DB_URI= \
18
18
19
19
# Run the binary on container start
20
20
# (substitute your project name for 'example')
21
- CMD [ " postgres-websockets" , "/etc/postgres-websockets.conf" ]
21
+ CMD postgres-websockets
22
22
23
23
EXPOSE 3000
Original file line number Diff line number Diff line change 1
- FROM alpine:3.8
1
+ FROM alpine:3.11.6
2
2
3
3
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
4
4
RUN apk -U add shadow@testing
Original file line number Diff line number Diff line change 1
1
version : ' 3'
2
2
services :
3
3
db :
4
- image : postgres:10 -alpine
4
+ image : postgres:12 -alpine
5
5
ports :
6
6
- " 5433:5432"
7
7
environment :
@@ -12,6 +12,7 @@ services:
12
12
environment :
13
13
PGWS_DB_URI : postgres://pgws:example@db/pgws
14
14
PGWS_JWT_SECRET : " auwhfdnskjhewfi34uwehdlaehsfkuaeiskjnfduierhfsiweskjcnzeiluwhskdewishdnpwe"
15
+ PGWS_ROOT_PATH : /home/postgres-websockets/client-example
15
16
ports :
16
17
- " 3000:3000"
17
18
depends_on :
You can’t perform that action at this time.
0 commit comments