Skip to content

Commit

Permalink
Use host cgroup in Docker Compose to make cgroupv2 work for hosts wit…
Browse files Browse the repository at this point in the history
…hout cgroupv1 fallback.
  • Loading branch information
nickygerritsen committed Oct 23, 2024
1 parent e90a827 commit 71c1de7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ services:
ports:
- 12345:80
privileged: true
# Note that this requires Docker Compose > 2.15.
# If you have an older version upgrade it, or you can comment out this line
cgroup: host
working_dir: ${PWD}
environment:
- PROJECT_DIR=${PWD}

0 comments on commit 71c1de7

Please sign in to comment.