version: '2'
services:
  db:
    image: postgres
  app:
    image: semitki/api
    command: /semitki/run_api.sh
    volumes:
      - ./api:/semitki/api
      - ./storage:/semitki/storage
      - ./config:/semitki/config
    ports:
      - "8000:8000"
      - "3031:3031"
      - "9191:9191"
    depends_on:
      - db
    env_file:
      - variables.env
  web:
    image: nginx:stable
    ports:
      - "9080:80"
    volumes:
      - ./front/dist:/usr/share/nginx/html
      - ./storage:/usr/share/nginx/html/storage

version: '2'
services:
  db:
    image: postgres
  app:
    image: semitki/api
    command: /semitki/run_api.sh
    volumes:
      - ./api:/semitki/api
      - ./storage:/semitki/storage
      - ./config:/semitki/config
    ports:
      - "8000:8000"
      - "3031:3031"
      - "9191:9191"
    depends_on:
      - db
    env_file:
      - variables.env
  web:
    image: nginx:stable
    ports:
      - "80:80"
    volumes:
      - ./front/dist:/usr/share/nginx/html
      - ./storage:/usr/share/nginx/html/storage

UPDATE web container listens in standar port
UPDATE web container listens in standar port
