Setup a new stack with the docker compose above and then edit and import the following env file https://github.com/exadel-inc/CompreFace/blob/master/.env
Last active
October 15, 2021 02:36
-
-
Save niemyjski/659c7873da8525177e20ffb50d1ec21e to your computer and use it in GitHub Desktop.
Home Assistant Portainer docker-compose for double-take & compreface
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.7' | |
volumes: | |
double-take: | |
postgres-data: | |
services: | |
double-take: | |
container_name: double-take | |
image: jakowenko/double-take:1.4.1 | |
restart: unless-stopped | |
volumes: | |
- double-take:/.storage | |
ports: | |
- 3000:3000 | |
compreface-postgres-db: | |
image: postgres:14.0 | |
container_name: "compreface-postgres-db" | |
environment: | |
- POSTGRES_USER=${postgres_username} | |
- POSTGRES_PASSWORD=${postgres_password} | |
- POSTGRES_DB=${postgres_db} | |
volumes: | |
- postgres-data:/var/lib/postgresql/data | |
compreface-admin: | |
image: ${registry}compreface-admin:${ADMIN_VERSION} | |
container_name: "compreface-admin" | |
environment: | |
- POSTGRES_USER=${postgres_username} | |
- POSTGRES_PASSWORD=${postgres_password} | |
- POSTGRES_URL=jdbc:postgresql://${postgres_domain}:${postgres_port}/${postgres_db} | |
- SPRING_PROFILES_ACTIVE=dev | |
- ENABLE_EMAIL_SERVER=${enable_email_server} | |
- EMAIL_HOST=${email_host} | |
- EMAIL_USERNAME=${email_username} | |
- EMAIL_FROM=${email_from} | |
- EMAIL_PASSWORD=${email_password} | |
- ADMIN_JAVA_OPTS=${compreface_admin_java_options} | |
depends_on: | |
- compreface-postgres-db | |
- compreface-api | |
compreface-api: | |
image: ${registry}compreface-api:${API_VERSION} | |
container_name: "compreface-api" | |
depends_on: | |
- compreface-postgres-db | |
environment: | |
- POSTGRES_USER=${postgres_username} | |
- POSTGRES_PASSWORD=${postgres_password} | |
- POSTGRES_URL=jdbc:postgresql://${postgres_domain}:${postgres_port}/${postgres_db} | |
- SPRING_PROFILES_ACTIVE=dev | |
- API_JAVA_OPTS=${compreface_api_java_options} | |
- SAVE_IMAGES_TO_DB=${save_images_to_db} | |
compreface-fe: | |
image: ${registry}compreface-fe:${FE_VERSION} | |
container_name: "compreface-ui" | |
ports: | |
- "8000:80" | |
depends_on: | |
- compreface-api | |
- compreface-admin | |
compreface-core: | |
image: ${registry}compreface-core:${CORE_VERSION} | |
container_name: "compreface-core" | |
environment: | |
- ML_PORT=3000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment