29 lines
884 B
YAML
29 lines
884 B
YAML
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:
|
|
image: gitea.psi.ch/images/quetz:latest
|
|
restart: unless-stopped
|
|
networks:
|
|
- backend
|
|
volumes:
|
|
- /cache/data:/data
|
|
- /root/config.toml:/config.toml
|
|
- /etc/letsencrypt/live/lx-cache-conda-01.psi.ch:/certs
|
|
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"
|
|
|
|
networks:
|
|
backend: |