Closed printfuck closed 1 year ago
I tried with older versions of both Redis and the Proxitok container, haven't found a good combination yet.
proxitok-web:
container_name: proxitok-web
# image: ghcr.io/pablouser1/proxitok@sha256:c7940983ce87464c8f5ca001644a511686ba42fc2cfce62a83b6304db2120ac1
# image: ghcr.io/pablouser1/proxitok@sha256:a35d2b24064505677ad0fd85283785583d895436445bb7415d4506a3e170ab5c
image: ghcr.io/pablouser1/proxitok@sha256:80ccad758027ff0367ee640935ec97fcb32f42fdab5a800032ec0a63690f1196
ports:
- 8666:80
environment:
- APP_URL='http://10.1.1.10'
- LATTE_CACHE=/cache
- API_CACHE=redis
- REDIS_HOST=proxitok-redis
- REDIS_PORT=6379
- API_SIGNER=remote
- API_SIGNER_URL=http://proxitok-signer:8080/signature
restart: unless-stopped
logging:
driver: "json-file"
options:
max-file: "5"
max-size: 10m
volumes:
- proxitok-cache:/cache
depends_on:
- proxitok-redis
- proxitok-signer
networks:
- proxitok
# security_opt:
# - no-new-privileges:true
# cap_drop:
# - ALL
# cap_add:
# - CHOWN
# - SETGID
# - SETUID
proxitok-redis:
container_name: proxitok-redis
# image: redis:7-alpine
image: redis:7.0.10-alpine3.17
restart: unless-stopped
logging:
driver: "json-file"
options:
max-file: "5"
max-size: 10m
command: redis-server --save 60 1 --loglevel warning
networks:
- proxitok
# user: nobody
# read_only: true
# security_opt:
# - no-new-privileges:true
# tmpfs:
# - /data:size=10M,mode=0770,uid=65534,gid=65534,noexec,nosuid,nodev
# cap_drop:
# - ALL
Hi. I'm not able to reproduce this issue. With the current Docker Image + Docker Compose file and using the command
APP_URL=https://example.com docker compose up
I have a valid intsance with all assets loading properly.
It was entirely my fault. I quoted the APP_URL with single quotes:
APP_URL='https://tiktok.my.url.tld'
Thanks for taking your time to look into the issue :smiley:
the quotes are used at https://github.com/pablouser1/ProxiTok/wiki/Self-hosting, should they be removed?
Describe the bug When setting up the docker-compose installation no css and js files are served. The css and js tags are served empty to the browser.
To Reproduce
Expected behavior The web interface should appear as usual.
Logs
Compose Logs
Enviroment (please complete the following information):