meta data for this page
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
installation_docker [2023/02/05 10:25] – created - external edit 127.0.0.1 | installation_docker [2025/01/18 12:29] (current) – [Docker Compose Example] update wrongecho | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Installation - Docker ====== | + | ====== Installation - Docker |
+ | |||
+ | |||
+ | **GitHub Link** - [[https:// | ||
+ | |||
+ | **Important: | ||
+ | * The Docker file/image is primarily maintained by the ITFlow community. We don't officially support Docker. | ||
+ | * We are looking for contributors to help maintain the Docker edition - see [[https:// | ||
+ | |||
+ | ===== Docker Compose Example ===== | ||
+ | |||
+ | < | ||
+ | ########################### | ||
+ | networks: | ||
+ | wan: | ||
+ | name: wan | ||
+ | driver: bridge | ||
+ | |||
+ | itflow-db: | ||
+ | name: itflow-db | ||
+ | external: false | ||
+ | |||
+ | ########################### | ||
+ | |||
+ | volumes: | ||
+ | itflow-db: | ||
+ | |||
+ | ########################### | ||
+ | services: | ||
+ | itflow: | ||
+ | platform: linux/ | ||
+ | hostname: itflow | ||
+ | container_name: | ||
+ | # Comment out image for DockerHub image, use build for local DockerFile if you prefer to build from base | ||
+ | image: itfloworg/ | ||
+ | #build: | ||
+ | #context: . | ||
+ | # | ||
+ | restart: unless-stopped | ||
+ | depends_on: | ||
+ | - itflow-db | ||
+ | networks: | ||
+ | - wan | ||
+ | - itflow-db | ||
+ | ports: | ||
+ | - " | ||
+ | environment: | ||
+ | - TZ=$TZ | ||
+ | - ITFLOW_NAME=ITFlow | ||
+ | - ITFLOW_URL=it.$ROOT_DOMAIN | ||
+ | - ITFLOW_PORT=8080 | ||
+ | - ITFLOW_REPO=github.com/ | ||
+ | - ITFLOW_REPO_BRANCH=master | ||
+ | - ITFLOW_LOG_LEVEL=info | ||
+ | - ITFLOW_DB_HOST=itflow-db | ||
+ | - ITFLOW_DB_PASS=$ITFLOW_DB_PASS | ||
+ | volumes: | ||
+ | - ./ | ||
+ | |||
+ | itflow-db: | ||
+ | hostname: itflow-db | ||
+ | container_name: | ||
+ | image: mariadb: | ||
+ | restart: always | ||
+ | networks: | ||
+ | - itflow-db | ||
+ | environment: | ||
+ | - MARIADB_RANDOM_ROOT_PASSWORD=true | ||
+ | - MARIADB_DATABASE=itflow | ||
+ | - MARIADB_USER=itflow | ||
+ | - MARIADB_PASSWORD=$ITFLOW_DB_PASS | ||
+ | volumes: | ||
+ | - itflow-db:/ | ||
+ | </ |