Skip to content

Commit d648b16

Browse files
committed
build: Add metadata to image
docs: Fix port availability in examples
1 parent 557fdfb commit d648b16

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
FROM postgres:latest
22
ARG MESSAGE_DB_VERSION
33

4+
LABEL org.opencontainers.image.description="Message DB on PostgreSQL"
5+
LABEL version="${MESSAGE_DB_VERSION}"
6+
47
WORKDIR /usr/src
58
ADD https://github.com/message-db/message-db/archive/v${MESSAGE_DB_VERSION}.tar.gz message-db.tar.gz
69
RUN tar -xzf message-db.tar.gz

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ services:
88
environment:
99
POSTGRES_HOST_AUTH_METHOD: trust
1010
ports:
11-
- '5432'
11+
- 5432:5432

0 commit comments

Comments
 (0)