change service name server and add var env to set host server

This commit is contained in:
Jazys 2023-08-30 23:00:01 +02:00
parent 3c6bfcaa9f
commit b8623f9bdc

View File

@ -14,6 +14,8 @@ services:
- server - server
networks: networks:
- tipi_main_network - tipi_main_network
environment:
- SERVER_HOST=tooljet-server
labels: labels:
# Main # Main
traefik.enable: true traefik.enable: true
@ -41,7 +43,7 @@ services:
traefik.http.routers.tooljet-local.tls: true traefik.http.routers.tooljet-local.tls: true
command: openresty -g "daemon off;" command: openresty -g "daemon off;"
server: tooljet-server:
container_name: tooljet-server container_name: tooljet-server
image: tooljet/tooljet-server-ce:v2.14.0 image: tooljet/tooljet-server-ce:v2.14.0
tty: true tty: true
@ -51,6 +53,7 @@ services:
- tipi_main_network - tipi_main_network
environment: environment:
- SERVE_CLIENT=false - SERVE_CLIENT=false
- SERVER_HOST=tooljet-server
- TOOLJET_HOST=https://${APP_DOMAIN} - TOOLJET_HOST=https://${APP_DOMAIN}
- LOCKBOX_MASTER_KEY=70726290922441785304399601987729268981756953900892 - LOCKBOX_MASTER_KEY=70726290922441785304399601987729268981756953900892
- SECRET_KEY_BASE=mqrBZqJvzUJ2GsHQaktZjKdb2cvdM8 - SECRET_KEY_BASE=mqrBZqJvzUJ2GsHQaktZjKdb2cvdM8