Update config after small amount of testing.
This commit is contained in:
@@ -9,21 +9,22 @@ services:
|
|||||||
network: host
|
network: host
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 8013:80 # Production minified files served using NGINX.
|
- 5222:5222
|
||||||
- 1380:1380 # Development files with drafts served by Hugo Server.
|
- 5269:5269
|
||||||
environment:
|
#environment:
|
||||||
- REPO=$REPO
|
# - REPO=$REPO
|
||||||
- BRANCH=$BRANCH
|
# - BRANCH=$BRANCH
|
||||||
- PROD=$PROD
|
# - PROD=$PROD
|
||||||
- DEV=$DEV
|
# - DEV=$DEV
|
||||||
healthcheck:
|
#healthcheck:
|
||||||
test: curl -sS http://localhost:80 || curl -sS http://localhost:1380 || exit 1
|
# test: curl -sS http://localhost:80 || curl -sS http://localhost:1380 || exit 1
|
||||||
interval: 1m
|
# interval: 1m
|
||||||
timeout: 10s
|
# timeout: 10s
|
||||||
retries: 2
|
# retries: 2
|
||||||
start_period: 30s
|
# start_period: 30s
|
||||||
volumes:
|
volumes:
|
||||||
- ../../Volumes/Prosody/prosody:/etc/prosody
|
- ../../Volumes/Prosody/prosody:/root/share/
|
||||||
|
# - ../../Volumes/ReverseProxy/letsencrypt/certs:/etc/prosody/certs
|
||||||
deploy:
|
deploy:
|
||||||
mode: global
|
mode: global
|
||||||
resources:
|
resources:
|
||||||
|
|||||||
@@ -1,2 +1,5 @@
|
|||||||
|
|
||||||
COMPOSE_BAKE=true
|
COMPOSE_BAKE=true
|
||||||
|
|
||||||
|
CPU=0.50
|
||||||
|
MEM=0.50G
|
||||||
|
|||||||
Reference in New Issue
Block a user