Pasha Sviderski
30bcb021d2
refactor: move StopGracePeriod from ServiceSpec to ContainerSpec
2026-03-24 18:41:01 +10:00
Pasha Sviderski
ada9bec2d4
refactor: remove docker dependency for Pid container property
2026-03-24 18:29:45 +10:00
98439b7743
feat: support PID namespace mode in Compose ( #276 )
...
This adds `pid: host` compose key support.
Modelled after #238 .
See: #237
Signed-off-by: Miek Gieben <miek@miek.nl >
Co-authored-by: Pasha Sviderski <me@psviderski.name >
2026-03-24 16:18:53 +10:00
Miek Gieben and GitHub
2ab58d24d4
chore: modernize the codebase using go 1.26 ( #278 )
...
This runs:
```
go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix ./...
```
over the codebase, as this is using go 1.26, it can also use the new
new() functionallity so AsPtr and boolPtr is are needed anymore.
Signed-off-by: Miek Gieben <miek@miek.nl >
2026-03-21 21:16:09 +10:00
Pasha Sviderski
e4cb71b878
refactor: simplify and speed up plan output formatting by removing name resolver dependency
2026-03-19 13:14:09 +10:00
Pasha Sviderski
d2703cbc6b
fix: remove extra line between services in deploy plan
2026-03-18 21:41:54 +10:00
Pasha Sviderski
0f4c211002
refactor: format compose deployment plan with style, display target context
2026-03-18 21:26:22 +10:00
Pasha Sviderski
838839a7e5
refactor: update deployment plan structure to use typed volume and service operations
2026-03-16 17:54:01 +10:00
Pasha Sviderski
1525d182b5
feat: add cluster context support in Compose with x-context extension
2026-03-13 18:37:36 +10:00
Pasha Sviderski
8ae38cfd57
feat: add shm_size support in Compose and --shm-size flag for 'uc run' ( closes #267 )
2026-03-12 22:09:28 +10:00
Pasha Sviderski
d9934b9dba
feat: support compose stop_grace_period to change timeout before sending SIGKILL
2026-03-04 14:07:22 +10:00
Pasha Sviderski
7a9eac593f
feat: implement container health monitoring and rollback during rolling deployment ( closes #24 )
2026-02-27 21:36:40 +10:00
Pasha Sviderski
185cf19a0c
chore: minor full-spec test change
2026-02-25 16:03:28 +10:00
Pasha Sviderski
4443fa9e0e
chore: update full-spec test to include latest implemented Compose attributes
2026-02-25 16:01:31 +10:00
Pasha Sviderski
3056e2af11
feat: add support for healthcheck in Compose
2026-02-25 14:54:24 +10:00
Pasha Sviderski
18ebd29032
chore: split deploy operations into separate files in operation package
2026-02-24 11:42:47 +10:00
Pasha Sviderski
5c54e9d059
chore: refactor device mapping to be compliant with Compose (CDI requests)
2026-02-11 17:44:38 +00:00
Justin Bradford and GitHub
ab6f856987
feat: Add support for compose devices mappings ( #250 )
...
* feat: Add support for compose `devices` mappings
https://docs.docker.com/reference/compose-file/services/#devices
```
services:
foo:
devices:
- "/dev/ttyUSB0:/dev/ttyUSB0"
- "/dev/sda:/dev/xvda:rwm"
```
* Lint fix
2026-02-11 17:00:18 +00:00
Nick and GitHub
53bf446502
deploy.update_config.order support to start-first or stop-first when replacing containers ( #248 )
2026-02-09 09:31:19 +00:00
Nick and GitHub
3bd9400051
feat: add support for ulimits in compose and container creation ( #221 ) ( #244 )
...
* feat: add support for ulimits in compose and container creation ([#221 ](https://github.com/ipaddicting/uncloud/issues/221 ))
* refactor: move Ulimits to ContainerResources and use map, also removed GEMINI.md.
2026-01-20 16:17:54 +10:00
06c3fba96e
feat: add support for sysctls compose key ( #239 )
...
* feat: add support for `sysctls` compose key
* lint
---------
Co-authored-by: Pasha Sviderski <me@psviderski.name >
2026-01-10 15:53:56 +11:00
Andrey Viktorov and GitHub
6c2f85d38a
feat: add support for cap_add and cap_drop compose keys ( #238 )
2026-01-10 15:13:03 +11:00
Anton Ovchinnikov and GitHub
2c34ba7eff
fix(configs): Create non-existent parent directories automatically ( #233 )
2025-12-29 11:38:06 +01:00
Justin Bradford and GitHub
6373d4097c
fix: volume driver options are not used if driver if not specified [bug #210 ] ( #211 )
2025-12-08 15:58:43 +10:00
Pasha Sviderski
f6d75d507c
lint
2025-11-20 16:04:06 +10:00
Pasha Sviderski
6a1cd7bf87
refactor: replace loadProjectFromContent with compose.LoadProjectFromContent
2025-11-20 16:03:47 +10:00
Pasha Sviderski
57205e1149
fix: new Compose deployment with volumes and --recreate flag ( fixes #176 )
2025-11-20 15:19:44 +10:00
Pasha Sviderski
4d591f9efc
lint
2025-11-01 16:07:36 +10:00
Pasha Sviderski
26c3699a9e
feat: process image templates in compose services, set default git-based tags if not specified
2025-11-01 16:06:52 +10:00
Pasha Sviderski
328ace1fd1
chore: implement image template processing using git repo state (not enabled)
2025-11-01 15:50:36 +10:00
Pasha Sviderski
4bc47af05b
refactor: strip project name from volume names without mangling project name
2025-10-30 20:54:15 +10:00
Justin Bradford and GitHub
3b4bcb7932
feat: support service.gpus and reservations.devices ( #156 )
...
* feat: support compose.yaml `service.gpus` and `service.deploy.resources.reservations.devices` DeviceRequests to Docker container
* Fix lint error
* Adjust test comments to work with linter
* Rename DeviceRequests to DeviceReservations to be more consistent with compose nomenclature
* Device reservation changes are immutable and should trigger a container recreate rather than update
2025-10-27 16:49:38 +10:00
Pasha Sviderski
40862df038
fix: compose variables are now interpolated from .env file ( fixes #144 )
2025-10-15 17:45:53 +10:00
Pasha Sviderski
a30ed600b6
chore: update docker and compose Go dependencies to the latest versions
2025-10-08 13:56:58 +10:00
Anton Ovchinnikov and GitHub
63c4de512e
feat: Initial support for Compose configs ( #116 )
2025-09-26 21:24:10 +10:00
Pasha Sviderski
0107363d41
fix: allow host mode x-ports with x-caddy in compose
2025-08-26 19:15:09 +10:00
Pasha Sviderski
dd7bc6c982
chore: trim spaces for x-caddy, diff Caddy configs when comparing service specs
2025-08-13 19:27:40 +10:00
Pasha Sviderski
12c07812a2
chore: add Caddy config to ServiceSpec, load x-caddy to it
2025-08-13 18:44:38 +10:00
Pasha Sviderski
ec73f9ecd8
chore: handle x-caddy: path/to/Caddyfile to read Caddy config in compose from file
2025-08-13 13:45:39 +10:00
Pasha Sviderski
879c7c1876
test: x-caddy extension parsing
2025-08-13 13:45:39 +10:00
Pasha Sviderski
5d3f1fe225
chore: x-caddy extension type in compose
2025-08-11 21:11:40 +10:00
Pasha Sviderski
2e585d0183
feat: add --recreate flag for deploy command to force container recreation
2025-08-07 18:09:35 +10:00
da3634b690
E2E tests use repeated strings for test data where constants add no value ( #97 )
...
---------
Co-authored-by: Pasha Sviderski <me@psviderski.name >
Co-authored-by: Anton Ovchinnikov <anton@tonyo.info >
2025-07-21 19:30:02 +02:00
Pasha Sviderski
6fb07db4b2
feat: follow-up compose 'ports' support: use ingress mode by default ( closes #81 )
2025-07-21 16:56:52 +10:00
Evgenii Orlov and GitHub
fea7edcbc5
feat: add support for standard compose ports directive ( #95 )
2025-07-21 15:24:37 +10:00
Anton Ovchinnikov
05d0078451
chore: Enable more linters
2025-07-14 00:32:26 +02:00
Anton Ovchinnikov
053d73048c
feat: Basic linting config
2025-07-13 23:50:27 +02:00
Evgenii Orlov and GitHub
31cd4c77e9
feat: support x-machines placement constraints in compose files ( #90 )
2025-07-10 16:46:29 +10:00
Connor Edwards
7bc69b9a9e
feat: add support for Compose profiles
2025-05-01 12:23:56 +09:00
Pavel Sviderski
db3016fe89
fix: --file flag description for uc deploy cmd
2025-04-30 11:45:25 +10:00