mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-02 14:24:27 -04:00
- Create initial migration that loads schema on fresh installs only - Database schema is now version-controlled via migrations - Remove database.sql build task from gulpfile - Simplify Docker setup - no longer need sqlscript container - Update CI workflows to rely on migrations for schema setup - Update INSTALL.md documentation for automatic schema creation Migrations now handle the complete database lifecycle: - Fresh install: Initial migration creates full schema - Existing install: Skips initial schema, continues normally - No manual database.sql import needed
25 lines
612 B
YAML
25 lines
612 B
YAML
include:
|
|
- docker/docker-mysql.yml
|
|
|
|
services:
|
|
ospos:
|
|
image: jekkos/opensourcepos:master
|
|
restart: always
|
|
depends_on:
|
|
- mysql
|
|
ports:
|
|
- "80:80"
|
|
networks:
|
|
- app_net
|
|
volumes:
|
|
- uploads:/app/public/uploads
|
|
- logs:/app/writable/logs
|
|
environment:
|
|
- CI_ENVIRONMENT=production
|
|
- FORCE_HTTPS=false
|
|
- PHP_TIMEZONE=UTC
|
|
- MYSQL_USERNAME=admin
|
|
- MYSQL_PASSWORD=pointofsale
|
|
- MYSQL_DB_NAME=ospos
|
|
- MYSQL_HOST_NAME=mysql
|