docker-compose.yml 842 bytes
# docker-compose file for building Pod locally and running it
# See also examples/using-prebuilt-docker.yml for using Pod without compiling it
version: '3'
services:
  pod:
    build:
      context: .
      dockerfile: Dockerfile
    ports:
      - "0.0.0.0:3030:3030"
    networks:
      - memri-net
    hostname: pod
    volumes:
      - ./data/db:/data/db
      - ./data/files:/data/files
      - ./data/certs:/data/certs
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      - GITLAB_CLIENT_ID=$GITLAB_CLIENT_ID
      - GITLAB_CLIENT_SECRET=$GITLAB_CLIENT_SECRET
      - RUST_LOG=info
    entrypoint:
      - "/pod"
      - "--owners=ANY"
      - "--insecure-non-tls=0.0.0.0"
      - "--plugins-callback-address=http://pod:3030"
      - "--plugins-docker-network=pod_memri-net"
volumes:
  db:
networks:
  memri-net: