mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2025-12-23 17:47:54 -05:00
Remove duplicated compose sections in nginx version. We will include parts of the main file instead of duplicating it here.
28 lines
711 B
YAML
28 lines
711 B
YAML
include:
|
|
- docker/docker-mysql.yml
|
|
|
|
services:
|
|
sqlscript:
|
|
image: jekkos/opensourcepos:sql-master
|
|
command: /bin/sh -c 'exit 0'
|
|
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
|