ubergeek77 / Lemmy-Easy-Deploy

Deploy Lemmy the easy way!
MIT License
133 stars 14 forks source link

Docker Compose 'version' line is now fully deprecated on newer versions. #90

Closed jaxiiruff closed 5 months ago

jaxiiruff commented 5 months ago

Did you check the FAQ & Troubleshooting section for answers to common questions and issues?

Yes

Describe the issue

The latest version of Docker Compose apparently decided to break virtually all compose files that have the version line at the top. https://github.com/docker/compose/issues/11628 causing this project to fail. I tried manually editing the compose file the script provides but it is replaced everytime even if I place a copy of the edited file in the custom folder.

Sure does suck to be an Arch user at times like these.

Diagnostic Information

Run ./deploy.sh -d and paste the output below:


==== Docker Information ====
Detected runtime: docker (Docker version 26.1.0, build 9714adc6c7)
Detected compose: docker compose (Docker Compose version 2.27.0)
Runtime state: OK

==== System Information ==== OS: Linux KERNEL: 6.8.7-arch1-1 (x86_64) HOSTNAME: OK SHELL: bash MEMORY: total used free shared buff/cache available Mem: 30Gi 2.8Gi 12Gi 44Mi 16Gi 27Gi Swap: 4.0Gi 0B 4.0Gi

DISTRO:

NAME="Arch Linux" PRETTY_NAME="Arch Linux"

==== Lemmy-Easy-Deploy Information ==== Version: 1.3.3

IMAGE CREATED STATUS

Integrity: 2cd5fe103e2d1d703edd5b2368a302e2aa56f005044b5aa182dfcb50e4803b02 ./deploy.sh 92c95dfc886792b8df2e9fffb540fc71a35c3bc6fd6c7662134da1545a79457a ./templates/Caddy-Dockerfile.template c1202e70662dd2228da36a35a0f38ec8fc81bec8964d7315d02e8671a58dd7d7 ./templates/Caddyfile.template 2537678c7971df36c1ed95f4228d3cfcb15bb4a28a60d939eaf8dd75b5d64a36 ./templates/cloudflare.snip c9cb4c5fee12930e17798a02ae1bd12e2dc69e149a394c24511bc9d4e6b776d4 ./templates/compose-email.snip c494a610bcb4cd1cfc0a4fe4fb0f6d437b2a84a0ad1625daee240e6dd6f1c910 ./templates/compose-email-volumes.snip 09b990908d667411c9089b6848cf63d30ad3e76b1e560747833c3cc241ab95a4 ./templates/docker-compose.yml.template 1c202b1b6e87c65b2fcda6035c9fe3f8631d76662907ffd38f24b14686e30647 ./templates/lemmy-email.snip c834cdce9eaf77f38155b404724fdfe66845575386ee516987452aa715642a6f ./templates/lemmy.hjson.template

Custom Files: total 8.0K -rw-r--r-- 1 0 0 643 Apr 26 14:45 customPostgresql.conf -rw-r--r-- 1 0 0 1.8K Apr 26 15:16 docker-compose.yml

==== Settings ==== CLOUDFLARE: Yes CADDY_DISABLE_TLS: false CADDY_HTTP_PORT: 80 CADDY_HTTPS_PORT: 443 LEMMY_TLS_ENABLED: true ENABLE_EMAIL: false SMTP_PORT: 25 ENABLE_POSTFIX: false POSTGRES_POOL_SIZE: 5

==== Generated Files ==== Deploy Version: (not deployed)

total 40K drwxr-xr-x 2 1000 1000 4.0K Apr 26 14:50 caddy -rw-r--r-- 1 1000 1000 75 Apr 26 15:17 caddy.env -rw-r--r-- 1 70 1000 643 Apr 26 15:17 customPostgresql.conf -rw-r--r-- 1 1000 1000 1.8K Apr 26 15:17 docker-compose.yml -rw-r--r-- 1 1000 1000 50 Apr 26 14:50 lemmy.env -rw-r--r-- 1 1000 1000 472 Apr 26 15:17 lemmy.hjson drwxr-xr-x 2 0 0 4.0K Apr 26 14:53 lemmy-ui-themes -rw-r--r-- 1 1000 1000 49 Apr 26 14:50 pictrs.env -rw-r--r-- 1 1000 1000 28 Apr 26 15:17 postfix.env -rw-r--r-- 1 1000 1000 51 Apr 26 14:50 postgres.env

jaxiiruff commented 5 months ago

wait nevermind disregard this