mirror of
https://github.com/gtsteffaniak/filebrowser.git
synced 2026-04-06 00:01:42 +08:00
Signed-off-by: Joel Godfrey <m.joelgodfrey@gmail.com> Co-authored-by: Kevin B. <kurami32_kbm@proton.me> Co-authored-by: zarev <60230221+zarevskaya@users.noreply.github.com> Co-authored-by: Joel Godfrey <82655889+BaccanoMob@users.noreply.github.com> Co-authored-by: Stephan Paternotte <Stephan-P@users.noreply.github.com>
52 lines
1.6 KiB
YAML
52 lines
1.6 KiB
YAML
services:
|
|
local-playwright:
|
|
container_name: local-playwright
|
|
ports:
|
|
- "8080:8080"
|
|
build:
|
|
dockerfile: ./_docker/Dockerfile.playwright-local
|
|
context: ../
|
|
local-playwright-screenshots:
|
|
container_name: local-playwright
|
|
volumes:
|
|
- ../frontend/generated:/app/frontend/generated
|
|
entrypoint: ["/bin/sh", "-c", "./filebrowser & sleep 2 && cd ../frontend && npx playwright test --project dark-screenshots && npx playwright test --project light-screenshots"]
|
|
build:
|
|
dockerfile: ./_docker/Dockerfile.playwright-local
|
|
context: ../
|
|
nginx-proxy-auth:
|
|
image: nginx
|
|
container_name: nginx-proxy-auth
|
|
ports:
|
|
- "80:80"
|
|
volumes:
|
|
- ./src/proxy/backend/default.conf:/etc/nginx/conf.d/default.conf
|
|
- ./src/proxy/backend/.htpasswd:/etc/nginx/conf.d/.htpasswd
|
|
nginx-proxy-jwt:
|
|
image: nginx
|
|
container_name: nginx-proxy-jwt
|
|
ports:
|
|
- "8081:8081" # Admin user
|
|
- "8082:8082" # Regular user
|
|
- "8083:8083" # Wrong key
|
|
- "8084:8084" # No user
|
|
volumes:
|
|
- ./src/jwt/backend/default.conf:/etc/nginx/conf.d/default.conf
|
|
- ./src/jwt/backend/.htpasswd:/etc/nginx/conf.d/.htpasswd
|
|
filebrowser-jwt:
|
|
hostname: filebrowser
|
|
volumes:
|
|
- '../frontend:/home/frontend'
|
|
- "./src/jwt/backend/config.yaml:/home/filebrowser/data/config.yaml"
|
|
build:
|
|
context: ../
|
|
dockerfile: ./_docker/Dockerfile.slim
|
|
filebrowser:
|
|
hostname: filebrowser
|
|
volumes:
|
|
- '../frontend:/home/frontend'
|
|
- "./src/proxy/backend/config.yaml:/home/filebrowser/data/config.yaml"
|
|
build:
|
|
context: ../
|
|
dockerfile: ./_docker/Dockerfile.slim
|