# docker-compose.yml version: "3.5" services: edgenode: image: docker.crosser.io/crosser/edgenode:latest container_name: crosser-academy restart: always environment: - SecurityConfiguration__Credentials__NodeId= - SecurityConfiguration__Credentials__AccessKey= ports: - 9099:9090 - 1889:1883 - 9199:9191 volumes: - "./data:/application/data" networks: - crosser-network logging: driver: json-file options: max-size: "50m" max-file: "2" postgres: image: registry.crosser.io/training/postgres:latest container_name: crosser-psql restart: always environment: POSTGRES_DB: crosser-dev POSTGRES_PASSWORD: CrosserDev2023 POSTGRES_USER: crosser volumes: - "./postgres:/var/lib/postgresql/data" ports: - 5435:5432 networks: - crosser-network logging: driver: json-file options: max-size: "50m" max-file: "2" redis: image: registry.crosser.io/training/redis:latest container_name: crosser-redis restart: always command: redis-server volumes: - "./redis:/var/lib/redis" - "./redis-config:/usr/local/etc/redis/redis.conf" ports: - 6379:6379 networks: - crosser-network logging: driver: json-file options: max-size: "50m" max-file: "2" networks: crosser-network: driver: bridge