version: '3'
services:
  tranga-api:
    image: glax/tranga-api:latest
    container_name: tranga-api
    volumes:
      - ./tranga:/usr/share/Tranga-API #1 when replacing ./tranga replace #2 with same value
      - ./Manga:/Manga
    ports:
      - "6531:6531"
    restart: unless-stopped
  tranga-website:
    image: glax/tranga-website:latest
    container_name: tranga-website
    volumes:
      - ./tranga/imageCache:/usr/share/nginx/html/imageCache:ro #2 when replacing Point to same value as #1/imageCache
    ports:
      - "9555:80"
    depends_on: 
      - tranga-api
    restart: unless-stopped