| 12345678910111213141516171819202122232425262728293031323334 |
- # Local-only Prisma Studio. Never exposed through Traefik: it binds to
- # 127.0.0.1 on the host, so reaching it requires an SSH tunnel:
- #
- # ssh -i <key> -L 5555:127.0.0.1:5555 ubuntu@<host>
- # docker compose -f docker-compose.yml -f docker-compose.studio.yml up -d studio
- # open http://127.0.0.1:5555
- #
- # Tear it down again when you are done: it has full read/write access to the DB.
- services:
- studio:
- image: eks-relay:local
- container_name: eks-relay-studio
- restart: "no"
- env_file: .env
- environment:
- - DATABASE_URL=file:/app/data/eks_relay.db
- volumes:
- - .:/app
- - relay_node_modules:/app/node_modules
- - ./data:/app/data
- entrypoint: ["npx", "prisma", "studio", "--port", "5555", "--hostname", "0.0.0.0", "--browser", "none"]
- ports:
- - "127.0.0.1:5555:5555"
- networks:
- - web
- volumes:
- relay_node_modules:
- external: true
- name: eks_relay_relay_node_modules
- networks:
- web:
- external: true
|