[add] librephotos
This commit is contained in:
parent
ebc53109d4
commit
a23428dec3
44 changed files with 2123 additions and 0 deletions
73
librephotos-docker/docker-compose.dev.raw
Normal file
73
librephotos-docker/docker-compose.dev.raw
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
# Run options:
|
||||
# 1. There are no options - This add additional tools to aid in the development of Libre Photos
|
||||
# run cmd: docker-compose up -f docker-compose.yml -f docker-compose.dev.yml -d
|
||||
# 2. Current added tools:
|
||||
# pgadmin User admin@admin pass admin port 3001
|
||||
|
||||
# DO NOT EDIT
|
||||
# The .env file has everything you need to edit.
|
||||
# Run options:
|
||||
# 1. Use prebuilt images (preferred method):
|
||||
# run cmd: docker-compose up -d
|
||||
# 2. Build images on your own machine:
|
||||
# build cmd: COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose build
|
||||
# run cmd: docker-compose up -d
|
||||
|
||||
version: '3.8'
|
||||
services:
|
||||
|
||||
__proxy_name__:
|
||||
tty: true
|
||||
build:
|
||||
context: ./proxy
|
||||
dockerfile: Dockerfile
|
||||
container_name: __proxy_name__
|
||||
volumes:
|
||||
- ${scanDirectory}:/data
|
||||
- ${data}/protected_media:/protected_media
|
||||
|
||||
__frontend_name__:
|
||||
tty: true
|
||||
environment:
|
||||
- DEBUG=1
|
||||
- WDS_SOCKET_PORT=0 # needed for webpack-dev-server
|
||||
build:
|
||||
context: ./frontend
|
||||
dockerfile: Dockerfile.dev
|
||||
container_name: __frontend_name__
|
||||
volumes:
|
||||
- ${codedir}/librephotos-frontend:/usr/src/app
|
||||
|
||||
__backend_name__:
|
||||
tty: true
|
||||
stdin_open: true
|
||||
environment:
|
||||
- DEBUG=1
|
||||
build:
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
DEBUG: 1
|
||||
container_name: __backend_name__
|
||||
volumes:
|
||||
- ${scanDirectory}:/data
|
||||
- ${data}/protected_media:/protected_media
|
||||
- ${data}/logs:/logs
|
||||
- ${data}/cache:/root/.cache
|
||||
- ${codedir}/librephotos:/code
|
||||
- ./vscode/server-extensions:/root/.vscode-server/extensions
|
||||
- ./vscode/server-insiders-extensions:/root/.vscode-server-insiders/extensions
|
||||
- ./vscode/settings.json:/code/.vscode/settings.json
|
||||
- ./backend/entrypoint.sh:/entrypoint.sh
|
||||
|
||||
__pgadmin_name__:
|
||||
image: dpage/pgadmin4
|
||||
container_name: __pgadmin_name__
|
||||
environment:
|
||||
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL:-admin@admin.com}
|
||||
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD:-admin}
|
||||
volumes:
|
||||
- ${pgAdminLocation}/pgadmin:/root/.pgadmin
|
||||
ports:
|
||||
- "3001:80"
|
||||
restart: unless-stopped
|
||||
Loading…
Add table
Add a link
Reference in a new issue