加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.27 KB
一键复制 编辑 原始数据 按行查看 历史
Brian Giometti 提交于 2024-01-11 09:00 . move postgres to port 5433 locally
---
version: '3.9'
services:
postgres:
container_name: postgres
profiles: [services]
image: timescale/timescaledb:latest-pg14
ports:
- 5433:5432
environment:
POSTGRES_USER: maybe
POSTGRES_PASSWORD: maybe
POSTGRES_DB: maybe_local
volumes:
- postgres_data:/var/lib/postgresql/data
redis:
container_name: redis
profiles: [services]
image: redis:6.2-alpine
ports:
- 6379:6379
command: 'redis-server --bind 0.0.0.0'
ngrok:
env_file: .env
image: shkoliar/ngrok:latest
profiles: [ngrok]
container_name: ngrok
ports:
- 4551:4551
environment:
- DOMAIN=host.docker.internal
- PORT=3333
- AUTH_TOKEN=${NGROK_AUTH_TOKEN}
- DEBUG=true
stripe:
container_name: stripe
image: stripe/stripe-cli:latest
profiles: [stripe]
command: listen --forward-to host.docker.internal:3333/v1/stripe/webhook --log-level warn
extra_hosts:
- 'host.docker.internal:host-gateway'
environment:
- STRIPE_API_KEY=${STRIPE_SECRET_KEY}
tty: true
volumes:
postgres_data:
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化