latinet:unicaes:opendronemap:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
latinet:unicaes:opendronemap:start [2023/08/24 23:01] – harley.lara | latinet:unicaes:opendronemap:start [2023/08/25 21:47] (current) – removed jan.sonntag | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | OpenDroneMap | ||
- | - Docker and Docker Compose | ||
- | |||
- | Create a docker network: | ||
- | |||
- | < | ||
- | docker network create nginx-network | ||
- | </ | ||
- | |||
- | <file yml docker-compose.yml> | ||
- | version: " | ||
- | |||
- | services: | ||
- | app: | ||
- | image: ' | ||
- | container_name: | ||
- | restart: always | ||
- | ports: | ||
- | # These ports are in format < | ||
- | - ' | ||
- | - ' | ||
- | - ' | ||
- | # Add any other Stream port you want to expose | ||
- | # - ' | ||
- | |||
- | # 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: | ||
- | |||
- | # Uncomment this if IPv6 is not enabled on your host | ||
- | # DISABLE_IPV6: | ||
- | |||
- | volumes: | ||
- | # Make sure this config.json file exists as per instructions above: | ||
- | - ./ | ||
- | - data:/data | ||
- | - letsencrypt:/ | ||
- | networks: | ||
- | - nginx-proxy | ||
- | depends_on: | ||
- | - db-nginx | ||
- | db-nginx: | ||
- | image: ' | ||
- | container_name: | ||
- | restart: always | ||
- | environment: | ||
- | MYSQL_ROOT_PASSWORD: | ||
- | MYSQL_DATABASE: | ||
- | MYSQL_USER: ' | ||
- | MYSQL_PASSWORD: | ||
- | volumes: | ||
- | - mysql:/ | ||
- | networks: | ||
- | - nginx-proxy | ||
- | volumes: | ||
- | mysql: | ||
- | data: | ||
- | letsencrypt: | ||
- | |||
- | # Connect to existing nginx-network: | ||
- | networks: | ||
- | nginx-proxy: | ||
- | external: true | ||
- | name: nginx-network | ||
- | </ | ||
- | < | ||
- | docker compose up -d | ||
- | </ | ||
- | |||
- | |||
- | Just in case: | ||
- | |||
- | <file json config.json> | ||
- | { | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | } | ||
- | </ | ||
- | |||
- | |||
- | - NGINX Manager | ||
- | - OpenDroneMap |