version: "3" services: client: container_name: fast-insiders-client image: fast-insiders-client:latest build: context: . args: API_URL: http://localhost:8000/ dockerfile: ./client/Dockerfile restart: always ports: - 8080:8080 environment: - PERSEUS_HOST=0.0.0.0 server: container_name: fast-insiders-server image: fast-insiders-server:latest build: context: . args: API_URL: http://localhost:8000/ dockerfile: ./server/Dockerfile restart: always ports: - 8000:8000 links: - db environment: - MYSQL_USER=fiuser - MYSQL_PASSWORD=root - MYSQL_HOST=db - MYSQL_DATABASE=fast_insiders - RUST_LOG=info,lopdf=error db: image: mariadb:10.5 restart: always command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW volumes: - db:/var/lib/mysql environment: - MYSQL_ROOT_PASSWORD=root - MYSQL_PASSWORD=root - MYSQL_DATABASE=fast_insiders - MYSQL_USER=fiuser volumes: fi-data: driver: local db: