backend added
This commit is contained in:
parent
763776c29b
commit
f36f28a057
1 changed files with 38 additions and 42 deletions
|
|
@ -62,8 +62,6 @@ services:
|
|||
resources:
|
||||
limits:
|
||||
cpus: "0.5"
|
||||
# sysctls:
|
||||
# vm.overcommit_memory: "1"
|
||||
|
||||
keydb:
|
||||
image: eqalpha/keydb:latest
|
||||
|
|
@ -83,47 +81,45 @@ services:
|
|||
resources:
|
||||
limits:
|
||||
cpus: "0.5"
|
||||
# sysctls:
|
||||
# vm.overcommit_memory: "1"
|
||||
|
||||
# backend:
|
||||
# build:
|
||||
# context: ./apps/backend
|
||||
# dockerfile: Dockerfile
|
||||
# networks:
|
||||
# - dokploy-network
|
||||
# expose:
|
||||
# - 1323
|
||||
# restart: unless-stopped
|
||||
# volumes:
|
||||
# - images_volume:/app/images
|
||||
# - storage_volume:/app/storage
|
||||
# environment:
|
||||
# STORAGE_STRATEGY: "minio"
|
||||
# MINIO_URL: minio:9000
|
||||
# MINIO_ROOT_USER: ${MINIO_ROOT_USER}
|
||||
# MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
|
||||
# POSTGRES_USER: ${POSTGRES_USER}
|
||||
# POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
# POSTGRES_DB: ${POSTGRES_DB}
|
||||
# PGHOST: db
|
||||
# PGPORT: "5432"
|
||||
# IMAGEOPTION: "true"
|
||||
# CONCURRENT_IMAGES: ${CONCURRENT_IMAGES}
|
||||
# healthcheck:
|
||||
# test: ["CMD", "curl", "-f", "http://localhost:1323/"]
|
||||
# interval: 10s
|
||||
# timeout: 5s
|
||||
# retries: 5
|
||||
# depends_on:
|
||||
# minio:
|
||||
# condition: service_healthy
|
||||
# db:
|
||||
# condition: service_healthy
|
||||
# keydb:
|
||||
# condition: service_healthy
|
||||
# tiles:
|
||||
# condition: service_healthy
|
||||
backend:
|
||||
build:
|
||||
context: ./apps/backend
|
||||
dockerfile: Dockerfile
|
||||
networks:
|
||||
- dokploy-network
|
||||
expose:
|
||||
- 1323
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- images_volume:/app/images
|
||||
- storage_volume:/app/storage
|
||||
environment:
|
||||
STORAGE_STRATEGY: "s3"
|
||||
MINIO_URL: minio:9000
|
||||
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
|
||||
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
|
||||
POSTGRES_USER: ${POSTGRES_USER}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
POSTGRES_DB: ${POSTGRES_DB}
|
||||
PGHOST: db
|
||||
PGPORT: "5432"
|
||||
IMAGEOPTION: "true"
|
||||
CONCURRENT_IMAGES: ${CONCURRENT_IMAGES}
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:1323/"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
depends_on:
|
||||
minio:
|
||||
condition: service_healthy
|
||||
db:
|
||||
condition: service_healthy
|
||||
keydb:
|
||||
condition: service_healthy
|
||||
tiles:
|
||||
condition: service_healthy
|
||||
|
||||
# web:
|
||||
# platform: "linux/amd64"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue