diff --git a/docker-compose.yml b/docker-compose.yml index 7982921..83c5b2f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,13 +1,11 @@ services: main: - image: ubuntu-dev:latest + image: x-financial-dev:latest container_name: x-financial-main restart: unless-stopped depends_on: onlyoffice: condition: service_started - postgres: - condition: service_healthy environment: WEB_HOST: 0.0.0.0 SERVER_HOST: 0.0.0.0 @@ -54,24 +52,3 @@ services: timeout: 5s retries: 10 start_period: 60s - - postgres: - image: postgres:16-alpine - container_name: x-financial-postgres - restart: unless-stopped - environment: - POSTGRES_DB: ${POSTGRES_DB:-x_financial} - POSTGRES_USER: ${POSTGRES_USER:-postgres} - POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres} - ports: - - "${POSTGRES_EXPOSE_PORT:-55432}:5432" - volumes: - - ./postgres_data:/var/lib/postgresql/data - healthcheck: - test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-postgres} -d ${POSTGRES_DB:-x_financial}"] - interval: 10s - timeout: 5s - retries: 10 - -volumes: - postgres_data: