# NOTE! Volume "conduit-db" and network "conduit-network" must be created before running "docker-compose up".
# They can be created with the following commands: "docker volume create conduit-db" and "docker network create conduit-network".

version: '3.3'

services:
  frontend:
    image: gitlab.labranet.jamk.fi:4567/te-team1/conduit-frontend:latest
    container_name: fronttikontti
    ports:
      - "4100:4100"
    restart: always
    environment:
      REACT_APP_API_ROOT: https://corporation.devopskoulutus.net/api

networks:
  default:
    external:
      name: conduit-network