update docker-compose to set container name

This commit is contained in:
Jazys 2023-08-28 22:23:56 +02:00 committed by Nicolas Meienberger
parent 06200a5f1b
commit 7fc8f1f434

View File

@ -2,15 +2,16 @@ version: "3.7"
services: services:
client: tooljet-client:
tty: true tty: true
stdin_open: true stdin_open: true
image: tooljet/tooljet-client-ce:v2.4.2 image: tooljet/tooljet-client-ce:v2.4.2
container_name: tooljet-client
restart: always restart: always
ports: ports:
- ${APP_PORT}:80 - ${APP_PORT}:80
depends_on: depends_on:
- server - tooljet-server
networks: networks:
- tipi_main_network - tipi_main_network
labels: labels:
@ -40,8 +41,9 @@ 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:
image: tooljet/tooljet-server-ce:v2.14.0 image: tooljet/tooljet-server-ce:v2.14.0
container_name: tooljet-server
tty: true tty: true
stdin_open: true stdin_open: true
restart: always restart: always
@ -76,7 +78,7 @@ services:
- SSO_GIT_OAUTH2_CLIENT_SECRET - SSO_GIT_OAUTH2_CLIENT_SECRET
command: npm run start:prod command: npm run start:prod
db-n8n: db-tooljet:
container_name: postgres_tooljet container_name: postgres_tooljet
image: postgres:11 image: postgres:11
restart: on-failure restart: on-failure