Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
237 commits
Select commit Hold shift + click to select a range
d00235d
fix: pull the new docker image when upgrading a service if DOCKER_IMA…
Feb 7, 2023
1d3b404
Release 1.23.2
Feb 7, 2023
f0df959
refactor: namespace all docker commands in common-functions
Feb 7, 2023
5f5eb56
refactor: use namespaced docker commands for interacting with the doc…
Feb 7, 2023
44e7921
refactor: use DOCKER_BIN env var instead of calling docker directly
Feb 7, 2023
03d368b
Merge pull request #165 from dokku/update-docker-commands
josegonzalez Feb 7, 2023
b680834
feat: use mongosh for connect commands
Feb 7, 2023
33c6c02
Merge pull request #166 from dokku/156-mongosh
josegonzalez Feb 7, 2023
6491cf8
chore: upgrade to mongo 5.0.14
Feb 7, 2023
ed08944
Merge pull request #167 from dokku/upgrade-mongodb
josegonzalez Feb 7, 2023
a6ec1ff
fix: properly support new image and image-version values during plugi…
Feb 7, 2023
ecccf88
Merge pull request #168 from dokku/fix-upgrades
josegonzalez Feb 7, 2023
d76db2f
Release 1.24.0
Feb 7, 2023
dd6b47c
feat: upgrade test os to ubuntu 20.04
Feb 7, 2023
ca4dfec
Merge pull request #170 from dokku/upgrade-test-os
josegonzalez Feb 7, 2023
9168b29
feat: upgrade github actions automatically
Feb 7, 2023
0cb3385
chore(deps): bump actions/checkout from 2 to 3
dependabot[bot] Feb 7, 2023
975e669
chore(deps): bump actions/setup-python from 2 to 4
dependabot[bot] Feb 7, 2023
712248d
chore(deps): bump actions/upload-artifact from 2 to 3
dependabot[bot] Feb 7, 2023
79dc4ec
Merge pull request #171 from dokku/dependabot/github_actions/actions/…
josegonzalez Feb 7, 2023
046153a
Merge pull request #172 from dokku/dependabot/github_actions/actions/…
josegonzalez Feb 7, 2023
caa5a0f
Merge pull request #173 from dokku/dependabot/github_actions/actions/…
josegonzalez Feb 7, 2023
0dca37d
feat: add support for specifying an initial-network property
Feb 7, 2023
47c5f8e
fix: correct issue with checking if the service container is ready wh…
Feb 7, 2023
31e4c43
fix: actually call the :set function and ensure we write properties t…
Feb 7, 2023
90021e3
fix: correct error message for valid/invalid properties
Feb 7, 2023
88bf4ac
refactor: directly write out the cid file when creating the service c…
Feb 7, 2023
d0c8f46
feat: add support for attaching to networks after service container c…
Feb 7, 2023
4d79bc2
feat: add ability to set multiple, comma-delimited post-create and po…
Feb 7, 2023
440c098
docs: add example for multiple networks
Feb 7, 2023
b7b6e07
feat: add network properties to :info output
Feb 7, 2023
6f596f7
Merge pull request #169 from dokku/191-network-support
josegonzalez Feb 8, 2023
6e787bc
fix: suppress output only if there are no errors
Feb 8, 2023
10d1314
fix: ensure properties are setup on plugin install
Feb 8, 2023
a6d5606
fix: add missing source calls
Feb 8, 2023
fb13823
refactor: use env vars to setup the initial admin user
josegonzalez Feb 8, 2023
eaf2ed7
Merge pull request #175 from dokku/josegonzalez-patch-1
josegonzalez Feb 8, 2023
46bbb1c
refactor: use mongosh and --eval flag to run database user creation
josegonzalez Feb 8, 2023
59644c1
Merge pull request #176 from dokku/josegonzalez-patch-1
josegonzalez Feb 8, 2023
837f74d
feat: add support for network related flags on create, clone, and upg…
Feb 8, 2023
a265bc6
docs: regenerate README
Feb 8, 2023
fec9f76
tests: output the contents of the run command in tests
Feb 8, 2023
8163a43
tests: also force destroy the lsa service
Feb 8, 2023
7144e34
tests: stop running workflows on push
Feb 8, 2023
1cc4514
tests: fix :set tests
Feb 8, 2023
1f9407f
fix: add -N flag to getopts
Feb 8, 2023
8081de8
feat: add service container log output on failure to start
Feb 8, 2023
8788995
fix: correct imports
Feb 8, 2023
d1a33a6
chore: remove extra newline
Feb 8, 2023
f8a245f
debug: add trace output
Feb 8, 2023
36cccdf
tests: fix issue where the test app wasn't being removed on test tear…
Feb 8, 2023
d4cfd94
tests: ignore case where app is already deleted
Feb 8, 2023
9a639cd
chore: drop debugging
Feb 8, 2023
b26c936
Merge pull request #174 from dokku/network-flags
josegonzalez Feb 8, 2023
fdda1b4
feat: add network alias that is $SERVICE_NAME.$SERVICE_TYPE
Feb 8, 2023
0de0971
feat: use service name as hostname
Feb 8, 2023
960a499
fix: set correct alias for wait container when not using an initial n…
Feb 8, 2023
18d1256
fix: always use the network alias
Feb 8, 2023
6814405
fix: use correct alias for non-initial-network connect calls
Feb 8, 2023
49690af
tests: correct the app name in use
Feb 8, 2023
fb86f97
tests: drop extra alias
Feb 8, 2023
75ce338
refactor: use the same network alias as is used when running :link co…
Feb 8, 2023
8636a6d
fix: drop extra check and always use the same network alias
Feb 8, 2023
acd6234
fix: use network alias when linking to wait container
Feb 9, 2023
fb16ef5
Merge pull request #177 from dokku/alt-network-alias
josegonzalez Feb 9, 2023
68ca96d
Release 1.25.0
Feb 9, 2023
8913a14
Release 1.30.0
Feb 9, 2023
183d79e
feat: automatically create releases from tags
Feb 9, 2023
7275006
Merge pull request #178 from dokku/auto-release-tags
josegonzalez Feb 9, 2023
681d825
fix: drop extra files from being included in release
Feb 9, 2023
0b3b744
Release 1.30.1
Feb 9, 2023
3e827e1
feat: add ability to skip restarts on link and unlink
Feb 21, 2023
22de450
chore: make all the service names used in the service_link tests the …
Feb 21, 2023
bbef017
chore: make all the service names used in the service_unlink tests th…
Feb 21, 2023
d49f80f
tests: add test for --no-restart to unlink tests
Feb 21, 2023
df6a786
tests: add test for --no-restart to link tests
Feb 21, 2023
df8b454
tests: add output/status and flesh out restart tests a bit more
Feb 21, 2023
554bf4c
fix: move arg-less flags to the front
Feb 21, 2023
c86a482
fix: update tests to properly handle case where app is not running
Feb 21, 2023
acdaf55
chore: remove extra newline
Feb 21, 2023
db188ed
tests: link service before unlinking
Feb 25, 2023
a19cd9f
fix: update link docs to remove erroneous copy-paste
Feb 25, 2023
51078f7
Merge pull request #179 from dokku/no-restart-link
josegonzalez Feb 25, 2023
081357c
Release 1.31.0
Feb 25, 2023
5eac544
fix: show an error when an ambassador container already exists but we…
Feb 25, 2023
e85adaf
Merge pull request #180 from dokku/error-when-link-exists
josegonzalez Feb 26, 2023
4939aba
Release 1.32.0
Feb 26, 2023
17439f7
chore(deps): bump mongo from 5.0.9 to 6.0.4
dependabot[bot] Mar 5, 2023
3466997
Merge pull request #164 from dokku/dependabot/docker/mongo-6.0.4
josegonzalez Mar 5, 2023
e3f7c1a
chore: regenerate readme
Mar 5, 2023
b5fbd79
Release 1.33.0
Mar 5, 2023
2a97cf3
chore(deps): bump mongo from 6.0.4 to 6.0.5
dependabot[bot] Mar 16, 2023
c5f634c
Merge pull request #182 from dokku/dependabot/docker/mongo-6.0.5
josegonzalez Mar 19, 2023
330bf36
Release 1.33.1
josegonzalez Mar 19, 2023
87b8dd1
chore(deps): bump mongo from 6.0.5 to 6.0.6
dependabot[bot] May 24, 2023
5cce4f7
Merge pull request #184 from dokku/dependabot/docker/mongo-6.0.6
josegonzalez May 25, 2023
7193fc0
Release 1.33.2
josegonzalez May 25, 2023
5fe00e2
Release 1.34.0
josegonzalez May 28, 2023
17e9783
chore(deps): bump mongo from 6.0.6 to 6.0.7
dependabot[bot] Jul 3, 2023
04b856c
Merge pull request #185 from dokku/dependabot/docker/mongo-6.0.7
josegonzalez Jul 7, 2023
15abadb
Release 1.34.1
josegonzalez Jul 7, 2023
5946a56
chore(deps): bump mongo from 6.0.7 to 6.0.8
dependabot[bot] Jul 14, 2023
7cc2f77
Merge pull request #186 from dokku/dependabot/docker/mongo-6.0.8
josegonzalez Jul 30, 2023
2f6a998
Release 1.34.2
josegonzalez Jul 30, 2023
76af54a
chore(deps): bump mongo from 6.0.8 to 6.0.9
dependabot[bot] Aug 16, 2023
e90db38
Merge pull request #187 from dokku/dependabot/docker/mongo-6.0.9
josegonzalez Aug 17, 2023
dc5a8f2
Release 1.34.3
josegonzalez Aug 17, 2023
1ac9d45
chore(deps): bump mongo from 6.0.9 to 7.0.0
dependabot[bot] Aug 18, 2023
801a55e
Merge pull request #188 from dokku/dependabot/docker/mongo-7.0.0
josegonzalez Aug 20, 2023
c0cc6f2
Release 1.35.0
josegonzalez Aug 20, 2023
eaaa3cb
feat: upgrade test suite from ubuntu 20.04 to 22.04
josegonzalez Sep 7, 2023
3f795fa
Merge pull request #192 from dokku/newer-ubuntu
josegonzalez Sep 7, 2023
f6a9a0c
chore(deps): bump actions/checkout from 3 to 4
dependabot[bot] Sep 7, 2023
35a5add
Merge pull request #189 from dokku/dependabot/github_actions/actions/…
josegonzalez Sep 7, 2023
944e1ac
chore(deps): bump mongo from 7.0.0 to 7.0.1
dependabot[bot] Sep 7, 2023
bff0b6a
Merge pull request #191 from dokku/dependabot/docker/mongo-7.0.1
josegonzalez Sep 7, 2023
45131b4
Release 1.36.0
josegonzalez Sep 10, 2023
1a55dc6
Release 1.36.1
josegonzalez Sep 10, 2023
b12dc74
chore(deps): bump mongo from 7.0.1 to 7.0.2
dependabot[bot] Oct 3, 2023
4c7d0b3
Merge pull request #193 from dokku/dependabot/docker/mongo-7.0.2
josegonzalez Oct 7, 2023
51ee0d0
Release 1.36.2
josegonzalez Oct 7, 2023
fe834e5
chore(deps): bump mongo from 7.0.2 to 7.0.4
dependabot[bot] Nov 29, 2023
5c4cafe
chore(deps): bump actions/setup-python from 4 to 5
dependabot[bot] Dec 6, 2023
5f11ada
Merge pull request #196 from dokku/dependabot/github_actions/actions/…
josegonzalez Dec 9, 2023
40339d4
Merge pull request #195 from dokku/dependabot/docker/mongo-7.0.4
josegonzalez Dec 9, 2023
61140a5
Release 1.36.3
josegonzalez Dec 9, 2023
7d5ff6d
chore: fix typo
josegonzalez Dec 9, 2023
7663ca6
chore: fix typo
josegonzalez Dec 9, 2023
bfe7afd
docs: update docs and generation script
josegonzalez Dec 10, 2023
93b5e4e
Release 1.36.4
josegonzalez Dec 10, 2023
f83d6f1
chore(deps): bump actions/upload-artifact from 3 to 4
dependabot[bot] Dec 15, 2023
ead449e
Merge pull request #197 from dokku/dependabot/github_actions/actions/…
josegonzalez Dec 19, 2023
dd10b87
chore(deps): bump mongo from 7.0.4 to 7.0.5
dependabot[bot] Jan 9, 2024
4335963
Merge pull request #198 from dokku/dependabot/docker/mongo-7.0.5
josegonzalez Jan 29, 2024
ba5153e
Release 1.36.5
josegonzalez Jan 29, 2024
d2faf87
fix: use correct repository on arm64 ubuntu image
josegonzalez Jan 29, 2024
bc04b42
Release 1.36.6
josegonzalez Jan 29, 2024
3f9cd66
chore(deps): bump mongo from 7.0.5 to 7.0.6
dependabot[bot] Mar 1, 2024
b6da231
Merge pull request #201 from dokku/dependabot/docker/mongo-7.0.6
josegonzalez Mar 6, 2024
ee12f50
Release 1.36.7
josegonzalez Mar 6, 2024
21280c5
chore(deps): bump mongo from 7.0.6 to 7.0.7
dependabot[bot] Mar 19, 2024
a2f568e
Merge pull request #202 from dokku/dependabot/docker/mongo-7.0.7
josegonzalez Mar 25, 2024
19b7669
Release 1.36.8
josegonzalez Mar 25, 2024
a93f317
chore(deps): bump mongo from 7.0.7 to 7.0.8
dependabot[bot] Apr 4, 2024
a98d498
Merge pull request #204 from dokku/dependabot/docker/mongo-7.0.8
josegonzalez Apr 5, 2024
02faf41
Release 1.36.9
josegonzalez Apr 5, 2024
5478a9d
chore(deps): bump mongo from 7.0.8 to 7.0.9
dependabot[bot] Apr 30, 2024
5c08db8
Merge pull request #205 from dokku/dependabot/docker/mongo-7.0.9
josegonzalez Apr 30, 2024
02b4467
Release 1.36.10
josegonzalez Apr 30, 2024
39cc395
fix: use .DNSNames instead of .Aliases in tests
josegonzalez Jun 29, 2024
3732916
Merge pull request #207 from dokku/fix-tests
josegonzalez Jun 29, 2024
0e9ffbb
tests: exclude SC1091 from shellcheck rules
josegonzalez Jun 29, 2024
ced339c
Merge pull request #208 from dokku/exclude-SC1091
josegonzalez Jun 29, 2024
8ece099
chore(deps): bump mongo from 7.0.9 to 7.0.12
dependabot[bot] Jun 29, 2024
1f0eb0a
Merge pull request #209 from dokku/dependabot/docker/mongo-7.0.12
josegonzalez Jun 30, 2024
02d965d
Release 1.36.11
josegonzalez Jun 30, 2024
81a317b
chore(deps): bump mongo from 7.0.12 to 7.0.14
dependabot[bot] Aug 27, 2024
c0a6297
Merge pull request #210 from dokku/dependabot/docker/mongo-7.0.14
josegonzalez Sep 14, 2024
b5e2f57
Release 1.36.12
josegonzalez Sep 14, 2024
def796e
chore(deps): bump mongo from 7.0.14 to 8.0.0
dependabot[bot] Sep 20, 2024
d844492
Merge pull request #211 from dokku/dependabot/docker/mongo-8.0.0
josegonzalez Sep 22, 2024
86a9687
Release 1.37.0
josegonzalez Sep 22, 2024
b62896a
chore(deps): bump mongo from 8.0.0 to 8.0.1
dependabot[bot] Oct 10, 2024
bee3270
Merge pull request #213 from dokku/dependabot/docker/mongo-8.0.1
josegonzalez Oct 10, 2024
c1f22f6
Release 1.37.1
josegonzalez Oct 10, 2024
5e56529
chore(deps): bump mongo from 8.0.1 to 8.0.3
dependabot[bot] Oct 28, 2024
eb22ab9
Merge pull request #214 from dokku/dependabot/docker/mongo-8.0.3
josegonzalez Nov 3, 2024
fc965d7
Release 1.37.2
josegonzalez Nov 3, 2024
da11b65
feat: enable env overrides for support images and update all to latest
josegonzalez Nov 25, 2024
0aa0c7e
Merge pull request #215 from dokku/enable-image-overrides
josegonzalez Nov 25, 2024
a668a12
feat: implement GPG Public Key encryption support
josegonzalez Nov 25, 2024
8615671
Merge pull request #216 from dokku/use-gpg-public-key-encryption
josegonzalez Nov 25, 2024
fd57944
Release 1.38.0
josegonzalez Nov 25, 2024
c74caff
chore(deps): bump mongo from 8.0.3 to 8.0.4
dependabot[bot] Dec 10, 2024
537df32
Merge pull request #217 from dokku/dependabot/docker/mongo-8.0.4
josegonzalez Dec 11, 2024
b720c39
Release 1.38.1
josegonzalez Dec 11, 2024
4e1174f
chore(deps): bump mongo from 8.0.4 to 8.0.5
dependabot[bot] Feb 25, 2025
e734a57
Merge pull request #218 from dokku/dependabot/docker/mongo-8.0.5
josegonzalez Mar 6, 2025
f5262cd
Release 1.38.2
josegonzalez Mar 6, 2025
544b5dc
docs: ensure --name flag is used in installation docs
josegonzalez Mar 9, 2025
23d30b8
Merge pull request #219 from dokku/7470-name-argument
josegonzalez Mar 9, 2025
60a38d9
Release 1.38.3
josegonzalez Mar 9, 2025
62cbfea
ci: use maintained action for creating automated releases
josegonzalez Mar 13, 2025
1db4b7b
Merge pull request #220 from dokku/maintained-action
josegonzalez Mar 13, 2025
f0ccd74
chore(deps): bump mongo from 8.0.5 to 8.0.6
dependabot[bot] Mar 25, 2025
7f2a572
Merge pull request #221 from dokku/dependabot/docker/mongo-8.0.6
josegonzalez Mar 30, 2025
4376521
Release 1.38.4
josegonzalez Mar 30, 2025
f12cb7b
chore(deps): bump mongo from 8.0.6 to 8.0.8
dependabot[bot] Apr 15, 2025
2a2b711
Merge pull request #222 from dokku/dependabot/docker/mongo-8.0.8
josegonzalez Apr 16, 2025
e12ec52
Release 1.38.5
josegonzalez Apr 16, 2025
54b363a
chore: bump runs-on image from ubuntu-22.04 to ubuntu-24.04
josegonzalez Apr 18, 2025
93e438e
fix: use maintained version of python
josegonzalez Apr 18, 2025
f8f515a
Merge pull request #223 from dokku/update-workflows
josegonzalez Apr 18, 2025
080b961
chore(deps): bump softprops/action-gh-release from 2.2.1 to 2.2.2
dependabot[bot] Apr 21, 2025
56b886c
docs: correct typo in generated readme
josegonzalez Apr 29, 2025
2a5e519
Merge pull request #224 from dokku/dependabot/github_actions/softprop…
josegonzalez Apr 29, 2025
ccdbe3c
docs: regenerate readme
josegonzalez Apr 29, 2025
49ae733
Merge pull request #225 from dokku/fix-typo
josegonzalez Apr 29, 2025
827f94f
Release 1.38.6
josegonzalez Apr 29, 2025
5ac2247
chore(deps): bump mongo from 8.0.8 to 8.0.9
dependabot[bot] May 2, 2025
7f3d13f
Merge pull request #226 from dokku/dependabot/docker/mongo-8.0.9
josegonzalez May 10, 2025
7706557
Release 1.38.7
josegonzalez May 10, 2025
59769c5
chore(deps): bump mongo from 8.0.9 to 8.0.10
dependabot[bot] Jun 4, 2025
61ba54b
Merge pull request #227 from dokku/dependabot/docker/mongo-8.0.10
josegonzalez Jun 8, 2025
e077240
Release 1.38.8
josegonzalez Jun 8, 2025
b9772a8
chore(deps): bump softprops/action-gh-release from 2.2.2 to 2.3.2
dependabot[bot] Jun 11, 2025
38e26c7
Merge pull request #229 from dokku/dependabot/github_actions/softprop…
josegonzalez Jun 12, 2025
30bad72
chore(deps): bump mongo from 8.0.10 to 8.0.11
dependabot[bot] Jul 1, 2025
e9ac8cf
Merge pull request #230 from dokku/dependabot/docker/mongo-8.0.11
josegonzalez Jul 2, 2025
1aa38a9
Release 1.38.9
josegonzalez Jul 2, 2025
0ada1b5
chore(deps): bump mongo from 8.0.11 to 8.0.12
dependabot[bot] Jul 24, 2025
1ee2d86
Merge pull request #231 from dokku/dependabot/docker/mongo-8.0.12
josegonzalez Jul 25, 2025
9967b58
Release 1.38.10
josegonzalez Jul 25, 2025
7b34b45
chore(deps): bump actions/checkout from 4 to 5
dependabot[bot] Aug 11, 2025
dc94290
Merge pull request #232 from dokku/dependabot/github_actions/actions/…
josegonzalez Aug 12, 2025
98a6329
chore(deps): bump mongo from 8.0.12 to 8.0.13
dependabot[bot] Aug 22, 2025
ec9b34c
Merge pull request #233 from dokku/dependabot/docker/mongo-8.0.13
josegonzalez Aug 23, 2025
66574f9
Release 1.38.11
josegonzalez Aug 23, 2025
69042b1
chore(deps): bump actions/setup-python from 5 to 6
dependabot[bot] Sep 4, 2025
a8694ec
Merge pull request #234 from dokku/dependabot/github_actions/actions/…
josegonzalez Sep 4, 2025
e55e67b
chore(deps): bump softprops/action-gh-release from 2.3.2 to 2.3.3
dependabot[bot] Sep 8, 2025
19f9c45
Merge pull request #235 from dokku/dependabot/github_actions/softprop…
josegonzalez Sep 8, 2025
7cf1216
chore(deps): bump mongo from 8.0.13 to 8.0.14
dependabot[bot] Sep 23, 2025
e0a70da
Merge pull request #236 from dokku/dependabot/docker/mongo-8.0.14
josegonzalez Sep 29, 2025
77c8c58
Release 1.38.12
josegonzalez Sep 29, 2025
2530b50
chore(deps): bump mongo from 8.0.14 to 8.0.15
dependabot[bot] Oct 3, 2025
88cef01
Merge pull request #237 from dokku/dependabot/docker/mongo-8.0.15
josegonzalez Oct 5, 2025
65026b2
Release 1.38.13
josegonzalez Oct 5, 2025
748c65b
chore(deps): bump softprops/action-gh-release from 2.3.3 to 2.4.0
dependabot[bot] Oct 7, 2025
7775c00
Merge pull request #239 from dokku/dependabot/github_actions/softprop…
josegonzalez Oct 7, 2025
64882b2
chore(deps): bump softprops/action-gh-release from 2.4.0 to 2.4.1
dependabot[bot] Oct 13, 2025
40ca47c
Merge pull request #240 from dokku/dependabot/github_actions/softprop…
josegonzalez Oct 13, 2025
4ace7e9
chore(deps): bump actions/upload-artifact from 4 to 5
dependabot[bot] Oct 27, 2025
22a9338
Merge pull request #241 from dokku/dependabot/github_actions/actions/…
josegonzalez Oct 27, 2025
236a49a
chore(deps): bump mongo from 8.0.15 to 8.2.1
dependabot[bot] Oct 29, 2025
8c71ad4
Merge pull request #242 from dokku/dependabot/docker/mongo-8.2.1
josegonzalez Oct 31, 2025
0960fa1
Release 1.39.0
josegonzalez Oct 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
---
version: 2
updates:
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,30 @@ name: CI
on:
pull_request:
branches:
- '*'
- "*"
push:
branches:
- master

concurrency:
group: build-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
unit-tests-master:
name: unit-tests
runs-on: ubuntu-18.04
strategy:
fail-fast: true
runs-on: ubuntu-24.04
env:
DOKKU_VERSION: master

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5
with:
fetch-depth: 0

- uses: actions/setup-python@v2
- uses: actions/setup-python@v6
with:
python-version: '3.7.x'
python-version: "3.13"

- run: make setup

Expand All @@ -49,28 +51,26 @@ jobs:

- run: make test

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v5
if: failure()
with:
name: tmp/test-results
path: test-results

unit-tests-0_19_0:
name: unit-tests-0.19.0
runs-on: ubuntu-18.04
strategy:
fail-fast: true
runs-on: ubuntu-24.04
env:
DOKKU_TAG: v0.19.0

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5
with:
fetch-depth: 0

- uses: actions/setup-python@v2
- uses: actions/setup-python@v6
with:
python-version: '3.7.x'
python-version: "3.13"

- run: make setup

Expand All @@ -93,7 +93,7 @@ jobs:

- run: make test

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v5
if: failure()
with:
name: tmp/test-results
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/tagged-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: "tagged-release"

# yamllint disable-line rule:truthy
on:
push:
tags:
- "*"

jobs:
tagged-release:
name: tagged-release
runs-on: ubuntu-24.04

steps:
- name: Release
uses: softprops/[email protected]
with:
generate_release_notes: true
make_latest: "true"
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM mongo:5.0.9
FROM mongo:8.2.1
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
HARDWARE = $(shell uname -m)
SYSTEM_NAME = $(shell uname -s | tr '[:upper:]' '[:lower:]')
ARCH = $(shell dpkg --print-architecture)
SHFMT_VERSION = 3.0.2
XUNIT_TO_GITHUB_VERSION = 0.3.0
XUNIT_READER_VERSION = 0.1.0
Expand All @@ -21,7 +22,11 @@ ifneq ($(shell shellcheck --version >/dev/null 2>&1 ; echo $$?),0)
ifeq ($(SYSTEM_NAME),darwin)
brew install shellcheck
else
sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse'
ifeq ($(ARCH),arm64)
sudo add-apt-repository 'deb http://ports.ubuntu.com/ubuntu-ports jammy-backports main restricted universe multiverse'
else
sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse'
endif
sudo rm -rf /var/lib/apt/lists/* && sudo apt-get clean
sudo apt-get update -qq && sudo apt-get install -qq -y shellcheck
endif
Expand Down
92 changes: 83 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# dokku mongo [![Build Status](https://img.shields.io/github/actions/workflow/status/dokku/dokku-mongo/ci.yml?branch=master&style=flat-square "Build Status")](https://github.com/dokku/dokku-mongo/actions/workflows/ci.yml?query=branch%3Amaster) [![IRC Network](https://img.shields.io/badge/irc-libera-blue.svg?style=flat-square "IRC Libera")](https://webchat.libera.chat/?channels=dokku)

Official mongo plugin for dokku. Currently defaults to installing [mongo 5.0.9](https://hub.docker.com/_/mongo/).
Official mongo plugin for dokku. Currently defaults to installing [mongo 8.2.1](https://hub.docker.com/_/mongo/).

## Requirements

Expand All @@ -11,7 +11,7 @@ Official mongo plugin for dokku. Currently defaults to installing [mongo 5.0.9](

```shell
# on 0.19.x+
sudo dokku plugin:install https://github.com/dokku/dokku-mongo.git mongo
sudo dokku plugin:install https://github.com/dokku/dokku-mongo.git --name mongo
```

## Commands
Expand All @@ -24,8 +24,10 @@ mongo:backup-deauth <service> # remove backup authenticatio
mongo:backup-schedule <service> <schedule> <bucket-name> [--use-iam] # schedule a backup of the mongo service
mongo:backup-schedule-cat <service> # cat the contents of the configured backup cronfile for the service
mongo:backup-set-encryption <service> <passphrase> # set encryption for all future backups of mongo service
mongo:backup-set-public-key-encryption <service> <public-key-id> # set GPG Public Key encryption for all future backups of mongo service
mongo:backup-unschedule <service> # unschedule the backup of the mongo service
mongo:backup-unset-encryption <service> # unset encryption for future backups of the mongo service
mongo:backup-unset-public-key-encryption <service> # unset GPG Public Key encryption for future backups of the mongo service
mongo:clone <service> <new-service> [--clone-flags...] # create container <new-name> then copy data from <name> into <new-name>
mongo:connect <service> # connect to the service via the mongo connection tool
mongo:connect-admin <service> # connect via mongo to a mongo service as admin user
Expand All @@ -45,6 +47,7 @@ mongo:logs <service> [-t|--tail] <tail-num-optional> # print the most recent log
mongo:pause <service> # pause a running mongo service
mongo:promote <service> <app> # promote service <service> as MONGO_URL in <app>
mongo:restart <service> # graceful shutdown and restart of the mongo service container
mongo:set <service> <key> <value> # set or clear a property for a service
mongo:start <service> # start a previously stopped mongo service
mongo:stop <service> # stop a running mongo service
mongo:unexpose <service> # unexpose a previously exposed mongo service
Expand Down Expand Up @@ -72,8 +75,11 @@ flags:
- `-i|--image IMAGE`: the image name to start the service with
- `-I|--image-version IMAGE_VERSION`: the image version to start the service with
- `-m|--memory MEMORY`: container memory limit in megabytes (default: unlimited)
- `-N|--initial-network INITIAL_NETWORK`: the initial network to attach the service to
- `-p|--password PASSWORD`: override the user-level service password
- `-P|--post-create-network NETWORKS`: a comma-separated list of networks to attach the service container to after service creation
- `-r|--root-password PASSWORD`: override the root-level service password
- `-S|--post-start-network NETWORKS`: a comma-separated list of networks to attach the service container to after service start
- `-s|--shm-size SHM_SIZE`: override shared memory size for mongo docker container

Create a mongo service named lollipop:
Expand All @@ -90,7 +96,7 @@ export MONGO_IMAGE_VERSION="${PLUGIN_IMAGE_VERSION}"
dokku mongo:create lollipop
```

You can also specify custom environment variables to start the mongo service in semi-colon separated form.
You can also specify custom environment variables to start the mongo service in semicolon-separated form.

```shell
export MONGO_CUSTOM_ENV="USER=alpha;HOST=beta"
Expand All @@ -112,7 +118,10 @@ flags:
- `--exposed-ports`: show service exposed ports
- `--id`: show the service container id
- `--internal-ip`: show the service internal ip
- `--initial-network`: show the initial network being connected to
- `--links`: show the service app links
- `--post-create-network`: show the networks to attach to after service container creation
- `--post-start-network`: show the networks to attach to after service container start
- `--service-root`: show the service root directory
- `--status`: show the service running status
- `--version`: show the service image version
Expand All @@ -132,7 +141,10 @@ dokku mongo:info lollipop --dsn
dokku mongo:info lollipop --exposed-ports
dokku mongo:info lollipop --id
dokku mongo:info lollipop --internal-ip
dokku mongo:info lollipop --initial-network
dokku mongo:info lollipop --links
dokku mongo:info lollipop --post-create-network
dokku mongo:info lollipop --post-start-network
dokku mongo:info lollipop --service-root
dokku mongo:info lollipop --status
dokku mongo:info lollipop --version
Expand All @@ -142,7 +154,7 @@ dokku mongo:info lollipop --version

```shell
# usage
dokku mongo:list
dokku mongo:list
```

List all services:
Expand Down Expand Up @@ -191,6 +203,7 @@ flags:

- `-a|--alias "BLUE_DATABASE"`: an alternative alias to use for linking to an app via environment variable
- `-q|--querystring "pool=5"`: ampersand delimited querystring arguments to append to the service link
- `-n|--no-restart "false"`: whether or not to restart the app on link (default: true)

A mongo service can be linked to a container. This will use native docker links via the docker-options plugin. Here we link it to our `playground` app.

Expand Down Expand Up @@ -243,6 +256,10 @@ mongodb2://lollipop:SOME_PASSWORD@dokku-mongo-lollipop:27017/lollipop
dokku mongo:unlink <service> <app>
```

flags:

- `-n|--no-restart "false"`: whether or not to restart the app on unlink (default: true)

You can unlink a mongo service:

> NOTE: this will restart your app and unset related environment variables
Expand All @@ -251,6 +268,31 @@ You can unlink a mongo service:
dokku mongo:unlink lollipop playground
```

### set or clear a property for a service

```shell
# usage
dokku mongo:set <service> <key> <value>
```

Set the network to attach after the service container is started:

```shell
dokku mongo:set lollipop post-create-network custom-network
```

Set multiple networks:

```shell
dokku mongo:set lollipop post-create-network custom-network,other-network
```

Unset the post-create-network value:

```shell
dokku mongo:set lollipop post-create-network
```

### Service Lifecycle

The lifecycle of each service can be managed through the following commands:
Expand Down Expand Up @@ -304,7 +346,7 @@ Expose the service on the service's normal ports, allowing access to it from the
dokku mongo:expose lollipop 27017 27018 27019 28017
```

Expose the service on the service's normal ports, with the first on a specified ip adddress (127.0.0.1):
Expose the service on the service's normal ports, with the first on a specified ip address (127.0.0.1):

```shell
dokku mongo:expose lollipop 127.0.0.1:27017 27018 27019 28017
Expand Down Expand Up @@ -417,7 +459,10 @@ flags:
- `-C|--custom-env "USER=alpha;HOST=beta"`: semi-colon delimited environment variables to start the service with
- `-i|--image IMAGE`: the image name to start the service with
- `-I|--image-version IMAGE_VERSION`: the image version to start the service with
- `-R|--restart-apps "true"`: whether to force an app restart
- `-N|--initial-network INITIAL_NETWORK`: the initial network to attach the service to
- `-P|--post-create-network NETWORKS`: a comma-separated list of networks to attach the service container to after service creation
- `-R|--restart-apps "true"`: whether or not to force an app restart (default: false)
- `-S|--post-start-network NETWORKS`: a comma-separated list of networks to attach the service container to after service start
- `-s|--shm-size SHM_SIZE`: override shared memory size for mongo docker container

You can upgrade an existing service to a new image or image-version:
Expand Down Expand Up @@ -457,8 +502,11 @@ flags:
- `-i|--image IMAGE`: the image name to start the service with
- `-I|--image-version IMAGE_VERSION`: the image version to start the service with
- `-m|--memory MEMORY`: container memory limit in megabytes (default: unlimited)
- `-N|--initial-network INITIAL_NETWORK`: the initial network to attach the service to
- `-p|--password PASSWORD`: override the user-level service password
- `-P|--post-create-network NETWORKS`: a comma-separated list of networks to attach the service container to after service creation
- `-r|--root-password PASSWORD`: override the root-level service password
- `-S|--post-start-network NETWORKS`: a comma-separated list of networks to attach the service container to after service start
- `-s|--shm-size SHM_SIZE`: override shared memory size for mongo docker container

You can clone an existing service to a new one:
Expand Down Expand Up @@ -630,6 +678,19 @@ Set the GPG-compatible passphrase for encrypting backups for backups:
dokku mongo:backup-set-encryption lollipop
```

### set GPG Public Key encryption for all future backups of mongo service

```shell
# usage
dokku mongo:backup-set-public-key-encryption <service> <public-key-id>
```

Set the `GPG` Public Key for encrypting backups:

```shell
dokku mongo:backup-set-public-key-encryption lollipop
```

### unset encryption for future backups of the mongo service

```shell
Expand All @@ -643,6 +704,19 @@ Unset the `GPG` encryption passphrase for backups:
dokku mongo:backup-unset-encryption lollipop
```

### unset GPG Public Key encryption for future backups of the mongo service

```shell
# usage
dokku mongo:backup-unset-public-key-encryption <service>
```

Unset the `GPG` Public Key encryption for backups:

```shell
dokku mongo:backup-unset-public-key-encryption lollipop
```

### schedule a backup of the mongo service

```shell
Expand Down Expand Up @@ -694,8 +768,8 @@ Remove the scheduled backup from cron:
dokku mongo:backup-unschedule lollipop
```

### Disabling `docker pull` calls
### Disabling `docker image pull` calls

If you wish to disable the `docker pull` calls that the plugin triggers, you may set the `MONGO_DISABLE_PULL` environment variable to `true`. Once disabled, you will need to pull the service image you wish to deploy as shown in the `stderr` output.
If you wish to disable the `docker image pull` calls that the plugin triggers, you may set the `MONGO_DISABLE_PULL` environment variable to `true`. Once disabled, you will need to pull the service image you wish to deploy as shown in the `stderr` output.

Please ensure the proper images are in place when `docker pull` is disabled.
Please ensure the proper images are in place when `docker image pull` is disabled.
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :

BOX_NAME = ENV["BOX_NAME"] || "bento/ubuntu-18.04"
BOX_NAME = ENV["BOX_NAME"] || "bento/ubuntu-24.04"
BOX_MEMORY = ENV["BOX_MEMORY"] || "2048"
DOKKU_VERSION = "master"

Expand Down
Loading