Add config to allow for GitHub Packages instead

master
Dan Caseley 2025-02-11 20:52:39 +00:00 committed by Guus der Kinderen
parent 9d99ddbc8c
commit 460fc98fc0
6 changed files with 16 additions and 12 deletions

View File

@ -1 +1,5 @@
OPENFIRE_TAG=latest
OPENFIRE_IMAGE=openfire
OPENFIRE_TAG=latest
#OPENFIRE_IMAGE=ghcr.io/igniterealtime/openfire
#OPENFIRE_TAG=main

View File

@ -21,7 +21,7 @@ services:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
xmpp1:
image: "openfire:${OPENFIRE_TAG}"
image: "${OPENFIRE_IMAGE}:${OPENFIRE_TAG}"
ports:
- "5221:5222"
- "5261:5269"
@ -37,7 +37,7 @@ services:
command: ["/wait-for-it.sh", "-s", "db:5432", "--", "/sbin/entrypoint.sh", "-Dhazelcast.prefer.ipv4.stack=${PREFER_IPV4} -Djava.net.preferIPv6Addresses=${PREFER_IPV6}"]
xmpp2:
image: "openfire:${OPENFIRE_TAG}"
image: "${OPENFIRE_IMAGE}:${OPENFIRE_TAG}"
ports:
- "5222:5222"
- "5262:5269"
@ -53,7 +53,7 @@ services:
command: ["/wait-for-it.sh", "-s", "db:5432", "--", "/sbin/entrypoint.sh", "-Dhazelcast.prefer.ipv4.stack=${PREFER_IPV4} -Djava.net.preferIPv6Addresses=${PREFER_IPV6}"]
xmpp3:
image: "openfire:${OPENFIRE_TAG}"
image: "${OPENFIRE_IMAGE}:${OPENFIRE_TAG}"
ports:
- "5223:5222"
- "5263:5269"

View File

@ -21,7 +21,7 @@ services:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
xmpp1:
image: "openfire:${OPENFIRE_TAG}"
image: "${OPENFIRE_IMAGE}:${OPENFIRE_TAG}"
ports:
- "5221:5222"
- "5261:5269"
@ -37,7 +37,7 @@ services:
command: ["/wait-for-it.sh", "-s", "db:5432", "--", "/sbin/entrypoint.sh", "-Dhazelcast.prefer.ipv4.stack=${PREFER_IPV4} -Djava.net.preferIPv6Addresses=${PREFER_IPV6}"]
xmpp2:
image: "openfire:${OPENFIRE_TAG}"
image: "${OPENFIRE_IMAGE}:${OPENFIRE_TAG}"
ports:
- "5222:5222"
- "5262:5269"
@ -53,7 +53,7 @@ services:
command: ["/wait-for-it.sh", "-s", "db:5432", "--", "/sbin/entrypoint.sh", "-Dhazelcast.prefer.ipv4.stack=${PREFER_IPV4} -Djava.net.preferIPv6Addresses=${PREFER_IPV6}"]
xmpp3:
image: "openfire:${OPENFIRE_TAG}"
image: "${OPENFIRE_IMAGE}:${OPENFIRE_TAG}"
ports:
- "5223:5222"
- "5263:5269"
@ -80,7 +80,7 @@ services:
- ./sql/otherdomain:/docker-entrypoint-initdb.d
otherxmpp:
image: "openfire:${OPENFIRE_TAG}"
image: "${OPENFIRE_IMAGE}:${OPENFIRE_TAG}"
ports:
- "5229:5222"
- "5269:5269"

View File

@ -23,7 +23,7 @@ services:
- ./sql/2:/docker-entrypoint-initdb.d
xmpp1:
image: "openfire:${OPENFIRE_TAG}"
image: "${OPENFIRE_IMAGE}:${OPENFIRE_TAG}"
ports:
- "5221:5222"
- "5261:5269"
@ -39,7 +39,7 @@ services:
command: ["/wait-for-it.sh", "-s", "db1:5432", "--", "/sbin/entrypoint.sh"]
xmpp2:
image: "openfire:${OPENFIRE_TAG}"
image: "${OPENFIRE_IMAGE}:${OPENFIRE_TAG}"
ports:
- "5222:5222"
- "5262:5269"

View File

@ -24,7 +24,7 @@ services:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
xmpp:
image: "openfire:${OPENFIRE_TAG}"
image: "${OPENFIRE_IMAGE}:${OPENFIRE_TAG}"
ports:
- "5222:5222"
- "5269:5269"

View File

@ -12,7 +12,7 @@ services:
- ./sql:/docker-entrypoint-initdb.d
xmpp1:
image: "openfire:${OPENFIRE_TAG}"
image: "${OPENFIRE_IMAGE}:${OPENFIRE_TAG}"
ports:
- "5222:5222"
- "5269:5269"