fix: remove entrypoint
This commit is contained in:
parent
436281f2e1
commit
3bc68a8a30
10
compose.yml
10
compose.yml
@ -19,14 +19,9 @@ services:
|
|||||||
- DEPLOY_METHOD=docker
|
- DEPLOY_METHOD=docker
|
||||||
#- HTTP_PROXY=http://proxy.domain.com
|
#- HTTP_PROXY=http://proxy.domain.com
|
||||||
#- HTTPS_PROXY=http://proxy.domain.com
|
#- HTTPS_PROXY=http://proxy.domain.com
|
||||||
configs:
|
|
||||||
- source: entrypoint_conf
|
|
||||||
target: /docker-entrypoint.sh
|
|
||||||
mode: 0555
|
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
- proxy
|
- proxy
|
||||||
#entrypoint: /docker-entrypoint.sh
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: 'nodejs -e "http.get(''http://localhost:3000'', (res) => { console.log(''status: '', res.statusCode); if (res.statusCode == 200) { process.exit(0); } else { process.exit(1); } });"'
|
test: 'nodejs -e "http.get(''http://localhost:3000'', (res) => { console.log(''status: '', res.statusCode); if (res.statusCode == 200) { process.exit(0); } else { process.exit(1); } });"'
|
||||||
interval: 30s
|
interval: 30s
|
||||||
@ -70,8 +65,3 @@ secrets:
|
|||||||
admin_password:
|
admin_password:
|
||||||
external: true
|
external: true
|
||||||
name: ${STACK_NAME}_admin_password_${SECRET_ADMIN_PASSWORD_VERSION}
|
name: ${STACK_NAME}_admin_password_${SECRET_ADMIN_PASSWORD_VERSION}
|
||||||
configs:
|
|
||||||
entrypoint_conf:
|
|
||||||
name: ${STACK_NAME}_entrypoint_${ENTRYPOINT_CONF_VERSION}
|
|
||||||
file: entrypoint.sh.tmpl
|
|
||||||
template_driver: golang
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user