From ea00a1e0eab17cde7b45456434fc9f58ea779018 Mon Sep 17 00:00:00 2001 From: ebner Date: Tue, 24 Mar 2026 14:53:57 +0100 Subject: [PATCH] revert compose file --- docker-compose.yml | 48 ++++++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 414ac09..1032f02 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,29 +1,31 @@ services: - nginx: - image: nginx:alpine - restart: unless-stopped - ports: - - "80:80" - - "443:443" - volumes: - - /root/nginx.conf:/etc/nginx/nginx.conf:ro - - /etc/letsencrypt/live/lx-cache-conda-01.psi.ch/fullchain.pem:/etc/nginx/certs/fullchain.pem:ro - - /etc/letsencrypt/live/lx-cache-conda-01.psi.ch/privkey.pem:/etc/nginx/certs/privkey.pem:ro - networks: - - backend - quetz-http: + quetz-test: image: gitea.psi.ch/images/quetz:latest - restart: unless-stopped - networks: - - backend + container_name: quetz-test + ports: + - "8000:8000" volumes: - - /cache/data:/data - - /root/config.toml:/config.toml - - /etc/letsencrypt/live/lx-cache-conda-01.psi.ch:/certs + - ./data:/data + - ./config.toml:/config.toml + - ./create_proxy_channel.py:/create_proxy_channel.py command: > bash -c "quetz create /data --copy-conf /config.toml --exists-ok && - python /create_proxy_channel.py && - quetz start /data --host 0.0.0.0 --port 80" + python /create_proxy_channel.py && + quetz start /data --host 0.0.0.0 --port 8000" -networks: - backend: \ No newline at end of file + quetz-https: + image: gitea.psi.ch/images/quetz:latest + container_name: quetz-https + ports: + - "443:443" + volumes: + - ./data:/data + - ./config_https.toml:/config.toml + - ./certs:/certs + - ./create_proxy_channel.py:/create_proxy_channel.py + command: > + bash -c "quetz create /data --copy-conf /config.toml --exists-ok && + python /create_proxy_channel.py && + quetz start /data --host 0.0.0.0 --port 443 + --ssl-certfile /certs/fullchain.pem + --ssl-keyfile /certs/privkey.pem"