Rename the Dockerfile version.
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
# 2026-06-11 Hyperling
|
||||
# Configuration for running a Prosody XMPP server.
|
||||
|
||||
volumes:
|
||||
prosody_data:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: none
|
||||
device: ../../Volumes/Prosody/data
|
||||
o: bind
|
||||
prosody_certs:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: none
|
||||
device: ../../Volumes/ReverseProxy/letsencrypt/live
|
||||
o: bind
|
||||
|
||||
services:
|
||||
app:
|
||||
container_name: prosody
|
||||
build:
|
||||
context: ./
|
||||
network: host
|
||||
restart: always
|
||||
ports:
|
||||
- 5222:5222
|
||||
- 5269:5269
|
||||
#environment:
|
||||
# - REPO=$REPO
|
||||
# - BRANCH=$BRANCH
|
||||
# - PROD=$PROD
|
||||
# - DEV=$DEV
|
||||
#healthcheck:
|
||||
# test: curl -sS http://localhost:80 || curl -sS http://localhost:1380 || exit 1
|
||||
# interval: 1m
|
||||
# timeout: 10s
|
||||
# retries: 2
|
||||
# start_period: 30s
|
||||
volumes:
|
||||
- prosody_data:/var/lib/prosody/
|
||||
- prosody_certs:/etc/letsencrypt/live
|
||||
deploy:
|
||||
mode: global
|
||||
resources:
|
||||
limits:
|
||||
cpus: $CPU
|
||||
memory: $MEM
|
||||
Reference in New Issue
Block a user