services: api_2: build: context: . image: pgn_api container_name: pgn_api_8889 volumes: - ./:/workspace ports: - "8889:8889" env_file: - .env environment: - TZ=Asia/Seoul stdin_open: true restart: always tty: true networks: - pgn_net command: sh -c "uvicorn api:app --workers 4 --host 0.0.0.0 --port 8889 --log-config log_config.yaml" networks: pgn_net: external: true