Commit 522f78
2025-05-26 21:02:42 MB Tech: -/-/dev/null .. docker compose files/koillection.md | |
@@ 0,0 1,34 @@ | |
+ | # Koillection |
+ | |
+ | ## Docker compose file |
+ | |
+ | ``` |
+ | services: |
+ | # Koillection |
+ | koillection: |
+ | image: koillection/koillection |
+ | container_name: koillection |
+ | restart: unless-stopped |
+ | ports: |
+ | - 8080:80 |
+ | env_file: |
+ | - stack.env |
+ | depends_on: |
+ | - db |
+ | volumes: |
+ | - ./volumes/koillection/uploads:/uploads |
+ | |
+ | # Database : choose one of the following |
+ | db: |
+ | image: postgres:16 |
+ | container_name: db |
+ | restart: unless-stopped |
+ | env_file: |
+ | - stack.env |
+ | environment: |
+ | - POSTGRES_DB=${DB_NAME} |
+ | - POSTGRES_USER=${DB_USER} |
+ | - POSTGRES_PASSWORD=${DB_PASSWORD} |
+ | volumes: |
+ | - ./volumes/postgresql:/var/lib/postgresql/data |
+ | ``` |