File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 11FROM postgres:latest
22ARG MESSAGE_DB_VERSION
33
4+ LABEL org.opencontainers.image.description="Message DB on PostgreSQL"
5+ LABEL version="${MESSAGE_DB_VERSION}"
6+
47WORKDIR /usr/src
58ADD https://github.com/message-db/message-db/archive/v${MESSAGE_DB_VERSION}.tar.gz message-db.tar.gz
69RUN tar -xzf message-db.tar.gz
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ services:
3535 image: ghcr.io/johnbcodes/message-db:1.2.6
3636 environment:
3737 POSTGRES_HOST_AUTH_METHOD: trust
38- expose :
39- - 5432
38+ ports :
39+ - 5432:5432
4040 volumes:
4141 - data-postgresql:/var/lib/postgresql/data
4242
Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ services:
88 environment :
99 POSTGRES_HOST_AUTH_METHOD : trust
1010 ports :
11- - ' 5432'
11+ - 5432:5432
You can’t perform that action at this time.
0 commit comments