revert compose file
This commit is contained in:
+25
-23
@@ -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:
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user