docker-compose-slim.yml 496 B

12345678910111213141516171819202122232425
  1. version: '3'
  2. services:
  3. g4f-gui:
  4. container_name: g4f-gui
  5. image: hlohaus789/g4f:slim
  6. build:
  7. context: .
  8. dockerfile: docker/Dockerfile-slim
  9. command: python -m g4f.cli gui -debug
  10. volumes:
  11. - .:/app
  12. ports:
  13. - '8080:8080'
  14. g4f-api:
  15. container_name: g4f-api
  16. image: hlohaus789/g4f:slim
  17. build:
  18. context: .
  19. dockerfile: docker/Dockerfile-slim
  20. command: python -m g4f.cli api
  21. volumes:
  22. - .:/app
  23. ports:
  24. - '1337:1337'