services: redis: image: redis:7-alpine container_name: onix-redis restart: unless-stopped networks: - onix-network onix: image: onix-adapter:latest container_name: onix-adapter restart: unless-stopped environment: - CONFIG_FILE=/app/config/local-dev.yaml volumes: - ./config:/app/config - ./schemas:/app/schemas - ./plugins:/app/plugins networks: - onix-network - traefik-public depends_on: - redis labels: - "traefik.enable=true" - "traefik.http.routers.onix.rule=Host(`onix.digitribe.fr`)" - "traefik.http.routers.onix.entrypoints=web" - "traefik.http.routers.onix.entrypoints=websecure" - "traefik.http.routers.onix.tls=true" - "traefik.http.routers.onix.tls.certresolver=letsencrypt" - "traefik.http.services.onix.loadbalancer.server.port=8081" networks: onix-network: driver: bridge traefik-public: external: true