nocobase/docker/app-postgres/docker-compose.yml

32 lines
711 B
YAML
Raw Normal View History

2022-04-29 02:55:01 +00:00
version: "3"
2022-12-23 02:27:37 +00:00
networks:
nocobase:
driver: bridge
2022-04-29 02:55:01 +00:00
services:
app:
2024-01-13 10:36:11 +00:00
image: nocobase/nocobase:latest
2022-04-29 02:55:01 +00:00
networks:
- nocobase
environment:
2024-01-13 10:36:11 +00:00
- APP_KEY=your-secret-key # Replace it with your own app key
2022-04-29 02:55:01 +00:00
- DB_DIALECT=postgres
- DB_HOST=postgres
- DB_DATABASE=nocobase
- DB_USER=nocobase
- DB_PASSWORD=nocobase
volumes:
- ./storage:/app/nocobase/storage
ports:
- "13000:80"
depends_on:
- postgres
postgres:
image: postgres:10
restart: always
command: postgres -c wal_level=logical
environment:
POSTGRES_USER: nocobase
POSTGRES_DB: nocobase
POSTGRES_PASSWORD: nocobase
2022-12-23 02:27:37 +00:00
networks:
- nocobase