File size: 735 Bytes
347f81b
 
7ff102d
 
 
d7d7389
 
347f81b
b675b05
7279f44
347f81b
 
 
 
701ca45
 
347f81b
 
365573c
7ff102d
 
 
 
 
 
 
 
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
26
27
28
services:
  codex-proxy:
    image: ghcr.io/icebear0828/codex-proxy:latest
    # To build from source instead: comment out 'image' above, uncomment 'build' below
    # build: .
    extra_hosts:
      - "host.docker.internal:host-gateway"
    ports:
      - "${PORT:-8080}:8080"
      - "1455:1455"
    volumes:
      - ./data:/app/data
      - ./config:/app/config
    restart: unless-stopped
    env_file:
      - .env
    environment:
      - NODE_ENV=production
      - PORT=8080

  # -- Automatic updates (uncomment to enable) --
  # watchtower:
  #   image: containrrr/watchtower
  #   volumes:
  #     - /var/run/docker.sock:/var/run/docker.sock
  #   command: --cleanup --interval 3600 codex-proxy
  #   restart: unless-stopped