Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

30 lignes
913B

  1. services:
  2. codex:
  3. build:
  4. context: .
  5. dockerfile: Dockerfile
  6. container_name: TrackingKits-codex
  7. working_dir: /workspace
  8. tty: true
  9. stdin_open: true
  10. # Mount your current folder into /workspace (run compose from your repo folder)
  11. volumes:
  12. - ./:/workspace
  13. # Persist Codex auth + config (maps to CODEX_HOME)
  14. - ./volumes/codex_home:/codex
  15. # Optional (recommended if you want Codex to run docker commands):
  16. # Gives the container access to your host Docker daemon.
  17. # SECURITY NOTE: docker.sock is effectively root on the host.
  18. - /var/run/docker.sock:/var/run/docker.sock
  19. environment:
  20. - CODEX_HOME=/codex
  21. # Optional: if you prefer API-key auth instead of ChatGPT login
  22. # - OPENAI_API_KEY=${OPENAI_API_KEY}
  23. # Keep container running so you can exec into it anytime
  24. command: ["bash", "-lc", "sleep infinity"]

Powered by TurnKey Linux.