- Add /var/log/init & /var/log/supervisor volumes.
This commit is contained in:
parent
9af3635a2c
commit
99fbe22bc3
@ -6,6 +6,7 @@ Rx3-Docker/Java V 1.1.0 - A. GIBERT - 2024/11/11
|
|||||||
- New version naming standard,
|
- New version naming standard,
|
||||||
- Now use docker_tools for .env building,
|
- Now use docker_tools for .env building,
|
||||||
- Use now rx3-docker/server:1.2.0-mga9 image,
|
- Use now rx3-docker/server:1.2.0-mga9 image,
|
||||||
|
- Add /var/log/init & /var/log/supervisor volumes,
|
||||||
- Strip down dependencies.
|
- Strip down dependencies.
|
||||||
|
|
||||||
|
|
||||||
|
@ -15,12 +15,16 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
args:
|
args:
|
||||||
IMG_NAME: ${IMG_NAME}
|
IMG_NAME: ${IMG_NAME}
|
||||||
IMG_FULL_NAME: ${IMG_NAME_FULL}
|
IMG_NAME_FULL: ${IMG_NAME_FULL}
|
||||||
IMG_VERSION: ${IMG_VERSION}
|
IMG_VERSION: ${IMG_VERSION}
|
||||||
IMG_MAINTAINER: ${IMG_MAINTAINER}
|
IMG_MAINTAINER: ${IMG_MAINTAINER}
|
||||||
IMG_FROM_URL: ${IMG_FROM_URL}
|
IMG_FROM_URL: ${IMG_FROM_URL}
|
||||||
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- ./var/log/init:${SERVER_LOG_INIT_DIR}
|
||||||
|
- ./var/log/supervisor:${SERVER_LOG_SV_DIR}
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:${SERVER_PORT_SV_EXT}:${SERVER_PORT_SV_INT}"
|
- "127.0.0.1:${SERVER_PORT_SV_EXT}:${SERVER_PORT_SV_INT}"
|
||||||
|
3
env.dist
3
env.dist
@ -40,4 +40,7 @@ SERVER_PORT_MAIN_EXT=$(( 8014 + ${ENV_PORT_OFFSET}))
|
|||||||
SERVER_PORT_SV_EXT=$(( ${SERVER_PORT_MAIN_EXT} + ${SV_PORT_OFFSET}))
|
SERVER_PORT_SV_EXT=$(( ${SERVER_PORT_MAIN_EXT} + ${SV_PORT_OFFSET}))
|
||||||
SERVER_PORT_SV_INT=9001
|
SERVER_PORT_SV_INT=9001
|
||||||
|
|
||||||
|
SERVER_LOG_INIT_DIR="/var/log/init"
|
||||||
|
SERVER_LOG_SV_DIR="/var/log/supervisor"
|
||||||
|
|
||||||
SERVER_CROND_ENABLED="FALSE"
|
SERVER_CROND_ENABLED="FALSE"
|
||||||
|
4
var/log/init/.gitignore
vendored
Normal file
4
var/log/init/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Ignore everything in this directory
|
||||||
|
*
|
||||||
|
# Except this file
|
||||||
|
!.gitignore
|
4
var/log/supervisor/.gitignore
vendored
Normal file
4
var/log/supervisor/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Ignore everything in this directory
|
||||||
|
*
|
||||||
|
# Except this file
|
||||||
|
!.gitignore
|
Loading…
Reference in New Issue
Block a user