Skip to content

feat: Add docker support#182

Closed
YuevUwU wants to merge 751 commits into
SCAICT:devfrom
YuevUwU:docker
Closed

feat: Add docker support#182
YuevUwU wants to merge 751 commits into
SCAICT:devfrom
YuevUwU:docker

Conversation

@YuevUwU
Copy link
Copy Markdown
Collaborator

@YuevUwU YuevUwU commented Nov 27, 2024

Task

  • Dockerize the project
  • Add option for switching dev mode or production mode
  • Implement automatic backup

Summary by CodeRabbit

  • New Features

    • Multi-stage Docker builds for web and bot (dev/prod targets) and a lightweight nginx image.
    • Nginx proxy config forwarding to the web service with logging.
    • Docker Compose for db, web, bot, nginx with networks, volume for DB, and healthchecks.
    • Dev and prod run scripts to build and start the Compose environment.
  • Documentation

    • Added comprehensive .dockerignore and example environment variables for Docker services.
  • Chores

    • Added compose override and production compose files; updated .gitignore to ignore log/.

iach526526 and others added 30 commits August 28, 2024 18:07
Change-Id: I8926fc26ee263ce9446adccae7cf191330f9f593
Change-Id: I4bcd6e7c3f13ae8a4211e275dc1723346161d913
Change-Id: Ib6dad0232b13b1e88ce3519f10b63e29aac2e905
Bug: SCAICT#51
Change-Id: If695821600dfeccc9f9e91548a5b6237a323812c
Change-Id: Id9cd8d4ce8fc949c51679b38f158f1bfc740a8f0
Change-Id: Ie78f7be00bfff17c88f4aabbcec28823b1bd6ed1
Change-Id: I27770b2ff249842ab8bfbc8f7905e1213fb7c9fb
Change-Id: I15b6a1fd2595151c0454d6c1f9fe23f89de17d1e
Bumps [idna](https://github.com/kjd/idna) from 3.7 to 3.8.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](kjd/idna@v3.7...v3.8)

---
updated-dependencies:
- dependency-name: idna
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Change-Id: I14c9859111c02d2f330a02767a9be826db7f9444
https: //stackoverflow.com/questions/38578140
Change-Id: I7fa990bed428ee5d8b923396c787ed4a61ffec72
Change-Id: I44bab4375c3cf1ba794e1bf92b9ec1fbc997ce68
Change-Id: Idef63cd778262f7d197e89427dfc08758308a7d4
Bumps [yarl](https://github.com/aio-libs/yarl) from 1.9.4 to 1.9.7.
- [Release notes](https://github.com/aio-libs/yarl/releases)
- [Changelog](https://github.com/aio-libs/yarl/blob/master/CHANGES.rst)
- [Commits](aio-libs/yarl@v1.9.4...v1.9.7)

---
updated-dependencies:
- dependency-name: yarl
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.7.4 to 2024.8.30.
- [Commits](certifi/python-certifi@2024.07.04...2024.08.30)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [pylint](https://github.com/pylint-dev/pylint) from 3.2.6 to 3.2.7.
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v3.2.6...v3.2.7)

---
updated-dependencies:
- dependency-name: pylint
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [yarl](https://github.com/aio-libs/yarl) from 1.9.7 to 1.9.10.
- [Release notes](https://github.com/aio-libs/yarl/releases)
- [Changelog](https://github.com/aio-libs/yarl/blob/v1.9.10/CHANGES.rst)
- [Commits](aio-libs/yarl@v1.9.7...v1.9.10)

---
updated-dependencies:
- dependency-name: yarl
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [platformdirs](https://github.com/platformdirs/platformdirs) from 4.2.2 to 4.3.2.
- [Release notes](https://github.com/platformdirs/platformdirs/releases)
- [Changelog](https://github.com/tox-dev/platformdirs/blob/main/CHANGES.rst)
- [Commits](tox-dev/platformdirs@4.2.2...4.3.2)

---
updated-dependencies:
- dependency-name: platformdirs
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [yarl](https://github.com/aio-libs/yarl) from 1.9.10 to 1.11.0.
- [Release notes](https://github.com/aio-libs/yarl/releases)
- [Changelog](https://github.com/aio-libs/yarl/blob/master/CHANGES.rst)
- [Commits](aio-libs/yarl@v1.9.10...v1.11.0)

---
updated-dependencies:
- dependency-name: yarl
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [multidict](https://github.com/aio-libs/multidict) from 6.0.5 to 6.1.0.
- [Release notes](https://github.com/aio-libs/multidict/releases)
- [Changelog](https://github.com/aio-libs/multidict/blob/master/CHANGES.rst)
- [Commits](aio-libs/multidict@v6.0.5...v6.1.0)

---
updated-dependencies:
- dependency-name: multidict
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [yarl](https://github.com/aio-libs/yarl) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/aio-libs/yarl/releases)
- [Changelog](https://github.com/aio-libs/yarl/blob/master/CHANGES.rst)
- [Commits](aio-libs/yarl@v1.11.0...v1.11.1)

---
updated-dependencies:
- dependency-name: yarl
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.2 to 8.3.3.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@8.3.2...8.3.3)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Change-Id: Ief532791cc7b742c82db38ea6dad25939ec782bf
Change-Id: I009549147d4d955762759b559e51caf346aab812
Change-Id: I8b652a5c88e8f4d620be683bbea2373de5167fe9
…c.scaict.org

Bug: SCAICT#330
Change-Id: Ie704cb765ab1ac1fb6ad25c9198a0c0a1b593278
Change-Id: I04e93e597580de9d8c8bfd6fed845e695f5c3a44
dependabot Bot added 2 commits November 10, 2025 01:10
Bumps [astroid](https://github.com/pylint-dev/astroid) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/pylint-dev/astroid/releases)
- [Changelog](https://github.com/pylint-dev/astroid/blob/main/ChangeLog)
- [Commits](pylint-dev/astroid@v4.0.1...v4.0.2)

---
updated-dependencies:
- dependency-name: astroid
  dependency-version: 4.0.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.4.2 to 9.0.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@8.4.2...9.0.0)

---
updated-dependencies:
- dependency-name: pytest
  dependency-version: 9.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
dependabot Bot and others added 11 commits November 11, 2025 01:39
Bumps [black](https://github.com/psf/black) from 25.9.0 to 25.11.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@25.9.0...25.11.0)

---
updated-dependencies:
- dependency-name: black
  dependency-version: 25.11.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [pytest](https://github.com/pytest-dev/pytest) from 9.0.0 to 9.0.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@9.0.0...9.0.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-version: 9.0.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [certifi](https://github.com/certifi/python-certifi) from 2025.10.5 to 2025.11.12.
- [Commits](certifi/python-certifi@2025.10.05...2025.11.12)

---
updated-dependencies:
- dependency-name: certifi
  dependency-version: 2025.11.12
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [pylint](https://github.com/pylint-dev/pylint) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v4.0.2...v4.0.3)

---
updated-dependencies:
- dependency-name: pylint
  dependency-version: 4.0.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
* Update renamed `dev` (`development`) branch.
* Remove outdated whitespace style and mention Black formatter.

Change-Id: I631286574e495b71504dfc6bad11c5c20fc1fbb1
Change-Id: Icc99fd66a46a40c54780b855095acd83235eb712
Bumps [click](https://github.com/pallets/click) from 8.3.0 to 8.3.1.
- [Release notes](https://github.com/pallets/click/releases)
- [Changelog](https://github.com/pallets/click/blob/main/CHANGES.rst)
- [Commits](pallets/click@8.3.0...8.3.1)

---
updated-dependencies:
- dependency-name: click
  dependency-version: 8.3.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
* Flatten core Python modules

Change-Id: Id5b99fa77cf191e14544a7e54213b7d2502f5757
Change-Id: I069796c5820395d70b2a0b3493622b638ae14058
@YuevUwU
Copy link
Copy Markdown
Collaborator Author

YuevUwU commented Jan 10, 2026

Re-opened on #364

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

6 participants