2022-08-22 06:22:30 +02:00
|
|
|
version: '3.9'
|
2022-08-20 05:22:07 +02:00
|
|
|
|
|
|
|
services:
|
2022-08-22 06:22:30 +02:00
|
|
|
# recording:
|
|
|
|
# container_name: birdnet_recording
|
|
|
|
# build:
|
|
|
|
# context: .
|
|
|
|
# dockerfile: ./docker/recording/Dockerfile
|
|
|
|
# restart: unless-stopped
|
|
|
|
# environment:
|
|
|
|
# - CHUNK_FOLDER=${CHUNK_FOLDER:-/media/birdnet/records}
|
|
|
|
# volumes:
|
|
|
|
# - ./var/:/media/birdnet/records
|
|
|
|
# # Allow container to access to the hosts microphone
|
|
|
|
# devices:
|
|
|
|
# - /dev/snd
|
2022-08-20 05:22:07 +02:00
|
|
|
|
2022-08-22 06:22:30 +02:00
|
|
|
# analyzer:
|
|
|
|
# container_name: birdnet_analyzer
|
|
|
|
# build:
|
|
|
|
# context: ./analyzer/
|
|
|
|
# dockerfile: ./Dockerfile
|
2022-08-20 05:22:07 +02:00
|
|
|
|
|
|
|
|
2022-08-22 06:22:30 +02:00
|
|
|
# db:
|
|
|
|
# container_name: birdnet_database
|
|
|
|
# image: mariadb:latest
|
|
|
|
# command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
|
|
|
|
# ports:
|
|
|
|
# - '3307:3306'
|
|
|
|
# networks:
|
|
|
|
# - birdnet_network
|
|
|
|
# environment:
|
|
|
|
# MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD:-secret}'
|
|
|
|
# MYSQL_DATABASE: ${DATABASE:-birdnet}
|
|
|
|
# MYSQL_USER: ${DATABASE_USER:-birdnet}
|
|
|
|
# MYSQL_PASSWORD: ${DATABASE_PASSWORD:-secret}
|
|
|
|
# volumes:
|
|
|
|
# - ./docker/database/init:/docker-entrypoint-initdb.d
|
|
|
|
# restart: unless-stopped
|
|
|
|
|
|
|
|
symfony:
|
|
|
|
container_name: birdnet_symfony
|
|
|
|
hostname: birdnet.symfony
|
2022-08-20 05:22:07 +02:00
|
|
|
build:
|
2022-08-22 06:22:30 +02:00
|
|
|
context: .
|
|
|
|
dockerfile: ./docker/symfony/Dockerfile
|
2022-08-20 05:22:07 +02:00
|
|
|
environment:
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
2022-08-22 06:22:30 +02:00
|
|
|
networks:
|
|
|
|
- birdnet_network
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
|
|
|
|
nginx:
|
|
|
|
container_name: birdnet_nginx
|
|
|
|
hostname: birdnet.nginx
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: ./docker/nginx/Dockerfile
|
2022-08-20 05:22:07 +02:00
|
|
|
ports:
|
2022-08-22 06:22:30 +02:00
|
|
|
- '81:80'
|
|
|
|
- '444:443'
|
|
|
|
environment:
|
|
|
|
- PHP_FPM_PORT=${PHP_FPM_PORT:-9001}
|
|
|
|
- PHP_FPM_HOST=${PHP_FPM_HOST:-birdnet.php-fpm}
|
|
|
|
networks:
|
|
|
|
- birdnet_network
|
|
|
|
restart: unless-stopped
|
|
|
|
|
|
|
|
networks:
|
|
|
|
birdnet_network:
|
2022-08-20 05:22:07 +02:00
|
|
|
|
2022-08-22 06:22:30 +02:00
|
|
|
volumes:
|
|
|
|
birdnet:
|