1 Star 0 Fork 0

rotoos/opnform

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.26 KB
一键复制 编辑 原始数据 按行查看 历史
Julien Nahum 提交于 2024-08-28 17:20 . Fix Docker api issues
---
services:
api: &api
image: jhumanj/opnform-api:latest
environment: &api-environment # Add this anchor
DB_HOST: db
REDIS_HOST: redis
DB_DATABASE: ${DB_DATABASE:-forge}
DB_USERNAME: ${DB_USERNAME:-forge}
DB_PASSWORD: ${DB_PASSWORD:-forge}
DB_CONNECTION: ${DB_CONNECTION:-pgsql}
FILESYSTEM_DISK: local
LOCAL_FILESYSTEM_VISIBILITY: public
env_file:
- ./api/.env
volumes:
- opnform_storage:/usr/share/nginx/html/storage:rw
api-worker:
image: jhumanj/opnform-api:latest
command: php artisan queue:work
environment:
<<: *api-environment
IS_API_WORKER: "true"
env_file:
- ./api/.env
volumes:
- opnform_storage:/usr/share/nginx/html/storage:rw
ui:
image: jhumanj/opnform-client:latest
env_file:
- ./client/.env
redis:
image: redis:7
db:
image: postgres:16
environment:
POSTGRES_DB: ${DB_DATABASE:-forge}
POSTGRES_USER: ${DB_USERNAME:-forge}
POSTGRES_PASSWORD: ${DB_PASSWORD:-forge}
volumes:
- postgres-data:/var/lib/postgresql/data
ingress:
image: nginx:1
volumes:
- ./docker/nginx.conf:/etc/nginx/templates/default.conf.template
ports:
- 80:80
volumes:
postgres-data:
opnform_storage:
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/rotoos/opnform.git
git@gitee.com:rotoos/opnform.git
rotoos
opnform
opnform
main

搜索帮助