mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-07 01:54:27 +00:00

* adding stack_management.sh * compose stack management WIP * Clean output SKIP_CI * Adding latest version info from github Phraseanet repo
217 lines
4.2 KiB
YAML
217 lines
4.2 KiB
YAML
services:
|
|
gateway:
|
|
volumes:
|
|
- ../:/var/alchemy
|
|
- .:/var/alchemy/Phraseanet
|
|
- ./docker/nginx/root/entrypoint.sh:/entrypoint.sh
|
|
gateway-traefik:
|
|
volumes:
|
|
- ../:/var/alchemy
|
|
- .:/var/alchemy/Phraseanet
|
|
- ./docker/nginx/root/entrypoint.sh:/entrypoint.sh
|
|
builder:
|
|
build:
|
|
context: .
|
|
target: builder
|
|
args:
|
|
- SSH_PRIVATE_KEY=${PHRASEANET_SSH_PRIVATE_KEY}
|
|
- PHRASEANET_PLUGINS=${PHRASEANET_PLUGINS}
|
|
profiles: ["builder"]
|
|
stdin_open: true
|
|
tty: true
|
|
volumes:
|
|
- ../:/var/alchemy
|
|
- .:/var/alchemy/Phraseanet
|
|
- ${PHRASEANET_CONFIG_DIR}:/var/alchemy/Phraseanet/config:rw
|
|
- ${PHRASEANET_LOGS_DIR}:/var/alchemy/Phraseanet/logs:rw
|
|
- ${PHRASEANET_DATA_DIR}:/var/alchemy/Phraseanet/datas:rw
|
|
- ${PHRASEANET_THUMBNAILS_DIR}:/var/alchemy/Phraseanet/www/thumbnails:rw
|
|
- ${PHRASEANET_CUSTOM_DIR}:/var/alchemy/Phraseanet/www/custom:rw
|
|
- ${PHRASEANET_CACHE_DIR}:/var/alchemy/Phraseanet/cache:rw
|
|
- ${SSH_AUTH_SOCK}:/ssh-auth-sock
|
|
- ${HOME}/.ssh:/home/app/.ssh
|
|
- dev_vol:/home/app
|
|
environment:
|
|
- PHRASEANET_PROJECT_NAME
|
|
networks:
|
|
- internal
|
|
|
|
phraseanet:
|
|
environment:
|
|
- XDEBUG_ENABLED
|
|
- XDEBUG_CONFIG=remote_host=${XDEBUG_REMOTE_HOST} idekey=${IDE_KEY} remote_enable=1 profiler_enable=${XDEBUG_PROFILER_ENABLED} profiler_output_dir=/var/alchemy/Phraseanet/cache/profiler
|
|
- PHP_IDE_CONFIG
|
|
volumes:
|
|
- ../:/var/alchemy
|
|
- .:/var/alchemy/Phraseanet
|
|
networks:
|
|
- internal
|
|
|
|
elasticsearch:
|
|
ports:
|
|
- 9200:9200
|
|
networks:
|
|
- internal
|
|
|
|
|
|
worker:
|
|
volumes:
|
|
- ../:/var/alchemy
|
|
- .:/var/alchemy/Phraseanet
|
|
networks:
|
|
- internal
|
|
|
|
w-mainQueue:
|
|
volumes:
|
|
- ../:/var/alchemy
|
|
- .:/var/alchemy/Phraseanet
|
|
networks:
|
|
- internal
|
|
|
|
w-assetsIngest:
|
|
volumes:
|
|
- ../:/var/alchemy
|
|
- .:/var/alchemy/Phraseanet
|
|
networks:
|
|
- internal
|
|
|
|
w-createRecord:
|
|
volumes:
|
|
- ../:/var/alchemy
|
|
- .:/var/alchemy/Phraseanet
|
|
networks:
|
|
- internal
|
|
|
|
w-deleteRecord:
|
|
volumes:
|
|
- ../:/var/alchemy
|
|
- .:/var/alchemy/Phraseanet
|
|
networks:
|
|
- internal
|
|
|
|
w-editRecord:
|
|
volumes:
|
|
- ../:/var/alchemy
|
|
- .:/var/alchemy/Phraseanet
|
|
networks:
|
|
- internal
|
|
|
|
w-exportMail:
|
|
volumes:
|
|
- ../:/var/alchemy
|
|
- .:/var/alchemy/Phraseanet
|
|
networks:
|
|
- internal
|
|
|
|
w-downloadAsync:
|
|
volumes:
|
|
- ../:/var/alchemy
|
|
- .:/var/alchemy/Phraseanet
|
|
networks:
|
|
- internal
|
|
|
|
w-exposeUpload:
|
|
volumes:
|
|
- ../:/var/alchemy
|
|
- .:/var/alchemy/Phraseanet
|
|
networks:
|
|
- internal
|
|
|
|
w-exportftp:
|
|
volumes:
|
|
- ../:/var/alchemy
|
|
- .:/var/alchemy/Phraseanet
|
|
networks:
|
|
- internal
|
|
|
|
w-populateIndex:
|
|
volumes:
|
|
- ../:/var/alchemy
|
|
- .:/var/alchemy/Phraseanet
|
|
networks:
|
|
- internal
|
|
|
|
w-pullAssets:
|
|
volumes:
|
|
- ../:/var/alchemy
|
|
- .:/var/alchemy/Phraseanet
|
|
networks:
|
|
- internal
|
|
|
|
w-recordsActions:
|
|
volumes:
|
|
- ../:/var/alchemy
|
|
- .:/var/alchemy/Phraseanet
|
|
networks:
|
|
- internal
|
|
|
|
w-subdefCreation:
|
|
volumes:
|
|
- ../:/var/alchemy
|
|
- .:/var/alchemy/Phraseanet
|
|
networks:
|
|
- internal
|
|
|
|
w-subtitle:
|
|
volumes:
|
|
- ../:/var/alchemy
|
|
- .:/var/alchemy/Phraseanet
|
|
networks:
|
|
- internal
|
|
|
|
w-validationReminder:
|
|
volumes:
|
|
- ../:/var/alchemy
|
|
- .:/var/alchemy/Phraseanet
|
|
networks:
|
|
- internal
|
|
|
|
w-webhook:
|
|
volumes:
|
|
- ../:/var/alchemy
|
|
- .:/var/alchemy/Phraseanet
|
|
networks:
|
|
- internal
|
|
|
|
w-writeMetadatas:
|
|
volumes:
|
|
- ../:/var/alchemy
|
|
- .:/var/alchemy/Phraseanet
|
|
networks:
|
|
- internal
|
|
|
|
w-shareBasket:
|
|
volumes:
|
|
- ../:/var/alchemy
|
|
- .:/var/alchemy/Phraseanet
|
|
networks:
|
|
- internal
|
|
|
|
scheduler:
|
|
volumes:
|
|
- ../:/var/alchemy
|
|
- .:/var/alchemy/Phraseanet
|
|
networks:
|
|
- internal
|
|
|
|
cmd:
|
|
volumes:
|
|
- ../:/var/alchemy
|
|
- .:/var/alchemy/Phraseanet
|
|
networks:
|
|
- internal
|
|
|
|
rabbitmq:
|
|
ports:
|
|
- ${RABBITMQ_MANAGEMENT_PORT}:15672
|
|
networks:
|
|
- internal
|
|
|
|
db:
|
|
volumes:
|
|
- ${PHRASEANET_DB_DIR}:/var/lib/mysql:rw
|
|
ports:
|
|
- 3306:3306
|
|
networks:
|
|
- internal
|