- Initial release,
- Based on rx3-docker/server:1.2.2-mga9 image, - Support Docker Tools 1.4.x.
This commit is contained in:
71
compose.yaml
Normal file
71
compose.yaml
Normal file
@@ -0,0 +1,71 @@
|
||||
# Rx3-Docker/Deluge Docker Image
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
name: ${HOST_NAME_PREFIX}
|
||||
|
||||
services:
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
peer-2-peer:
|
||||
container_name: ${P2P_HOST_NAME}
|
||||
hostname: ${P2P_HOST_NAME}
|
||||
|
||||
image: ${P2P_IMG_URL}
|
||||
|
||||
build:
|
||||
args:
|
||||
IMG_NAME: ${P2P_IMG_URL}
|
||||
IMG_NAME_FULL: ${P2P_IMG_NAME_FULL}
|
||||
IMG_VERSION: ${P2P_IMG_VERSION}
|
||||
IMG_MAINTAINER: ${P2P_IMG_MAINTAINER}
|
||||
IMG_FROM_URL: ${P2P_IMG_FROM_URL}
|
||||
|
||||
DELUGE_PORT_DAEMON: ${P2P_PORT_MAIN_INT}
|
||||
DELUGE_PORT_WEB: ${P2P_PORT_ADMIN_INT}
|
||||
|
||||
restart: unless-stopped
|
||||
|
||||
environment:
|
||||
DELUGE_UID: ${P2P_USER_ID}
|
||||
DELUGE_GID: ${P2P_GROUP_ID}
|
||||
DELUGE_PORT_BT_LOW: ${P2P_PORT_BT_LOW}
|
||||
DELUGE_PORT_BT_HIGH: ${P2P_PORT_BT_HIGH}
|
||||
|
||||
# healthcheck:
|
||||
# test: /opt/appl/kafka/bin/kafka-cluster.sh cluster-id --bootstrap-server localhost:${P2P_PORT_MAIN_INT}
|
||||
# interval: 30s
|
||||
# timeout: 10s
|
||||
# start_period: 60s
|
||||
# start_interval: 10s
|
||||
# retries: 30
|
||||
|
||||
volumes:
|
||||
- ./${P2P_LIB_EXT}:${P2P_LIB_INT}
|
||||
- ./${P2P_LOG_INIT_EXT}:${P2P_LOG_INIT_INT}
|
||||
- ./${P2P_LOG_SV_EXT}:${P2P_LOG_SV_INT}
|
||||
- ./${P2P_SPOOL_EXT}:${P2P_SPOOL_INT}
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
ipv4_address: ${NETWORK_ADDRESS}
|
||||
|
||||
ports:
|
||||
- "127.0.0.1:${P2P_PORT_SV_EXT}:${P2P_PORT_SV_INT}"
|
||||
- "127.0.0.1:${P2P_PORT_MAIN_EXT}:${P2P_PORT_MAIN_INT}"
|
||||
- "127.0.0.1:${P2P_PORT_ADMIN_EXT}:${P2P_PORT_ADMIN_INT}"
|
||||
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
name: ${NETWORK_NAME}
|
||||
driver: bridge
|
||||
driver_opts:
|
||||
com.docker.network.bridge.name: ${NETWORK_IF_NAME}
|
||||
ipam:
|
||||
config:
|
||||
- subnet: ${NETWORK_SUBNET}
|
||||
gateway: ${NETWORK_GATEWAY}
|
||||
Reference in New Issue
Block a user