version: '3.8' volumes: eamco_cache: name: eamco services: payment: container_name: eamco-payment restart: always build: context: ../eamco_payment dockerfile: Dockerfile volumes: - ../eamco_payment:/app ports: - '4052:4052' command: 'python3 app.py --host 0.0.0.0' backend_office: container_name: eamco-backend-office-dev restart: always build: context: ../eamco_office_api dockerfile: Dockerfile volumes: - ../eamco_office_api:/app ports: - '4056:4056' command: 'python3 app.py --host 0.0.0.0' auto: container_name: eamco-backend-auto restart: on-failure build: context: ../eamco_auto dockerfile: Dockerfile volumes: - ../eamco_auto:/app ports: - '4053:4053' command: 'python3 app.py --host 0.0.0.0' frontend: container_name: eamco-frontend-dev restart: on-failure build: context: ../eamco_frontend dockerfile: Dockerfile volumes: - ../eamco_frontend:/app ports: - '5173:5173' command: 'vite dev --host --port 5173' # backend_service: # container_name: eamco-backend-service-dev # restart: on-failure # build: # context: ../eamco_service_api # dockerfile: Dockerfile # volumes: # - ../eamco_service_api:/app # depends_on: # - redis # ports: # - '4058:4058' # command: 'python3 app.py --host 0.0.0.0' # redis: # container_name: eamco-redis-dev # image: redis:latest # command: redis-server --save 20 1 --loglevel warning # restart: on-failure # ports: # - '6379:6379' # env_file: # - .env # volumes: # - eamco_cache:${CURRENT_DIRECTORY}/eamco_deploy/dbdata/redisdb # database: # container_name: postgres_eamco # image: postgres:latest # restart: always # logging: # options: # max-size: 10m # max-file: "3" # environment: # - POSTGRES_USER=postgres # - POSTGRES_PASSWORD=postgres # env_file: # - .env # ports: # - '5432:5432' # volumes: # - ${CURRENT_DIRECTORY}/eamco_deploy/dbdata/db:/var/lib/postgresql/data # - ${CURRENT_DIRECTORY}/eamco_deploy/dbdata/init.sql:/docker-entrypoint-initdb.d/init.sql