summaryrefslogtreecommitdiffstats
path: root/docker-compose-slim.yml
blob: ec0ee0fcb642ea27b3fad66976968d2178983b1d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
version: '3'

services:
  g4f-gui:
    container_name: g4f-gui
    image: hlohaus789/g4f:slim
    build:
      context: .
      dockerfile: docker/Dockerfile-slim
    command: python -m g4f.cli gui -debug
    volumes:
      - .:/app
    ports:
      - '8080:8080'
  g4f-api:
    container_name: g4f-api
    image: hlohaus789/g4f:slim
    build:
      context: .
      dockerfile: docker/Dockerfile-slim
    command: python -m g4f.cli api
    volumes:
      - .:/app
    ports:
      - '1337:1337'