version: '2' services: frontend: build: ./frontend image: docker-registry.rthoni.com/sites-status-frontend-image:dev container_name: sites-status-frontend # restart: unless-stopped networks: sites-status.internal.docker: aliases: - frontend.sites-status.internal.docker ports: - "127.0.0.1:34041:80" env_file: - env backend: build: context: ./backend args: - WEBAPI_PROJECT=SiteStatus - BUILD_CONFIG=Release image: docker-registry.rthoni.com/sites-status-backend-image:dev container_name: sites-status-backend # restart: unless-stopped networks: sites-status.internal.docker: aliases: - backend.sites-status.internal.docker volumes: - ./data/backend/storage:/data/storage env_file: - env environment: - ASPNETCORE_ENVIRONMENT=Production - ASPNETCORE_URLS=http://0.0.0.0:8080 networks: sites-status.internal.docker: