1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-18 20:59:44 +02:00

ref: Refactoring

This commit is contained in:
Maksim Eltyshev 2024-10-30 22:28:25 +01:00
parent e4fd0eda16
commit 036cdc058a
7 changed files with 53 additions and 39 deletions

View file

@ -68,11 +68,13 @@ services:
# - SLACK_BOT_TOKEN=
# - SLACK_CHANNEL_ID=
# - GOOGLE_CHAT_WEBHOOK_URL=
# - TELEGRAM_BOT_TOKEN=
# - TELEGRAM_CHAT_ID=
# - TELEGRAM_THREAD_ID=
working_dir: /app
command: ['sh', '-c', 'npm run start']
command: ["sh", "-c", "npm run start"]
depends_on:
postgres:
condition: service_healthy
@ -105,7 +107,7 @@ services:
# - DEFAULT_ADMIN_NAME=Demo Demo
# - DEFAULT_ADMIN_USERNAME=demo
working_dir: /app
command: ['sh', '-c', 'npm run db:init']
command: ["sh", "-c", "npm run db:init"]
volumes:
- ./server:/app
- /app/node_modules
@ -122,10 +124,10 @@ services:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
ports:
- '5432:5432'
- "5432:5432"
restart: unless-stopped
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U user -d planka_db']
test: ["CMD-SHELL", "pg_isready -U user -d planka_db"]
interval: 10s
timeout: 5s
retries: 5
@ -133,7 +135,7 @@ services:
proxy:
image: nginx:alpine
ports:
- '3000:80'
- "3000:80"
volumes:
- ./config/development/nginx.conf:/etc/nginx/nginx.conf
depends_on: