~gitpocket/gitpocket

1
ece10ec87b759061dbb6158366d0cd96f0662987
mainfeed-discovery
gitpocket/deploy/compose.yaml -rw-r--r--762 bytes ViewLogBlameView rawPermalink ddd4238b49 docs(install): add an install guide 12 days ago
 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
29
name: gitpocket

services:
  gitpocket:
    build: ..
    image: gitpocket
    container_name: gitpocket
    command: ["serve", "-listen", ":3200", "-host", "${GITPOCKET_HOST:?set GITPOCKET_HOST}", "-proxy", "172.31.255.1/32"]
    user: "${GITPOCKET_UID:?set GITPOCKET_UID}:${GITPOCKET_GID:?set GITPOCKET_GID}"
    ports:
      - "127.0.0.1:3200:3200"
    volumes:
      - /srv/gitpocket:/srv/gitpocket
    read_only: true
    tmpfs:
      - /tmp:size=64m,mode=1777,noexec,nosuid,nodev
    cap_drop: [ALL]
    security_opt:
      - no-new-privileges:true
    mem_limit: 512m
    pids_limit: 256
    restart: unless-stopped
    networks: [gitpocket]
networks:
  gitpocket:
    ipam:
      config:
        - subnet: 172.31.255.0/28
          gateway: 172.31.255.1