User Tools

Site Tools


latinet:unicaes:opendronemap:start

This is an old revision of the document!


OpenDroneMap

  1. Docker and Docker Compose

Create a docker network:

docker network create nginx-network
docker-compose.yml
version: "3"
 
services:
  app:
    image: 'jc21/nginx-proxy-manager:latest'
    container_name: nginx-proxy-manager
    restart: always
    ports:
      # These ports are in format <host-port>:<container-port>
      - '80:80' # Public HTTP Port
      - '443:443' # Public HTTPS Port
      - '81:81' # Admin Web Port
      # Add any other Stream port you want to expose
      # - '21:21' # FTP
 
    # Uncomment the next line if you uncomment anything in the section
    # environment:
      # Uncomment this if you want to change the location of 
      # the SQLite DB file within the container
      # DB_SQLITE_FILE: "/data/database.sqlite"
 
      # Uncomment this if IPv6 is not enabled on your host
      # DISABLE_IPV6: 'true'
 
    volumes:
      # Make sure this config.json file exists as per instructions above:
      - ./config.json:/app/config/production.json
      - data:/data
      - letsencrypt:/etc/letsencrypt
    networks:
      - nginx-proxy
    depends_on:
      - db-nginx
  db-nginx:
    image: jc21/mariadb-aria:10.4
    container_name: nginx-proxy-manager-db
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: 'npm'
      MYSQL_DATABASE: 'npm'
      MYSQL_USER: 'npm'
      MYSQL_PASSWORD: 'npm'
    volumes:
      - mysql:/var/lib/mysql
    networks:
      - nginx-proxy
volumes:
  mysql:
  data:
  letsencrypt:
 
# Connect to existing nginx-network: `docker network create nginx-network`
networks:
  nginx-proxy:
    external:
      name: nginx-network
  1. NGINX Manager
  2. OpenDroneMap
latinet/unicaes/opendronemap/start.1692910029.txt.gz · Last modified: 2023/08/24 22:47 by harley.lara