strona-czynna/docker-compose.yml

46 lines
1.1 KiB
YAML

version: "3.2"
services:
db:
image: mongo:4.4-bionic
ports:
- "127.0.0.1:${PORT:-2076}7:27017"
volumes:
- "${DB_VOLUME_PATH:-./db}:/data/db"
test:
image: sealious-app:latest
build:
context: ./docker
dockerfile: ./test.Dockerfile
volumes:
- ./:/opt/sealious-app/
- /tmp:/tmp
user: ${USER_ID:-1000}:${GROUP_ID:-1000}
command: tail -f /dev/null # to keep it open
mailcatcher:
image: schickling/mailcatcher:latest
ports:
- "127.0.0.1:${PORT:-108}2:1080"
- "127.0.0.1:${PORT:-102}6:1025"
user: ${USER_ID:-1000}:${GROUP_ID:-1000}
meilisearch:
image: getmeili/meilisearch:v1.9
ports:
- "127.0.0.1:${PORT:-109}8:7700"
volumes:
- ./meili_data:/meili_data
environment:
MEILI_ENV: development
MEILI_MASTER_KEY: ${MEILISEARCH_MASTER_KEY:-qwerty}
user: ${USER_ID:-1000}:${GROUP_ID:-1000}
playwright:
image: mcr.microsoft.com/playwright:v1.54.0-noble
ports:
- 127.0.0.1:3000:3000
extra_hosts:
- "host.docker.internal:host-gateway"
command: npx -y playwright@1.54.0 run-server --port 3000 --host 0.0.0.0