summaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
blob: 0ecceefdd1678fe170b033f12f635f749bba8da6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
version: '3'

services:
  gpt4free-api: &gpt4free
    image: gpt4free:latest
    build:
      context: .
      dockerfile: Dockerfile
      cache_from:
        - gpt4free:latest
    ports:
      - '1337:1337'
    command: api
  gpt4free-gui:
    <<: *gpt4free
    ports:
      - '8080:80'
    command: gui