Restaurant gestion app to manage orders, stocks and money
3.2K
Use one of these compose files to run the app :
Stack with PostgreSQL (all in Docker) :
services:
postgres:
image: postgres:16-alpine
container_name: cuisync_db
restart: always
environment:
POSTGRES_USER: cuisync
POSTGRES_PASSWORD: cuisync
POSTGRES_DB: cuisync
volumes:
- ./postgres_data:/var/lib/postgresql/data
healthcheck:
test: pg_isready -U cuisync -d cuisync || exit 1
interval: 10s
timeout: 10s
retries: 2
start_period: 30s
app:
image: simonlclrs/cuisync:latest
container_name: cuisync_app
pull_policy: always
restart: always
depends_on:
postgres:
condition: service_healthy
ports:
- 7005:7005
environment:
DATABASE_URL: postgres://cuisync:cuisync@postgres:5432/cuisync
CORS_REFLECT_ORIGIN: true
volumes:
- ./app_keys:/usr/src/app/keys
Stack with PostgreSQL outside :
services:
app:
image: simonlclrs/cuisync:latest
container_name: cuisync
pull_policy: always
restart: unless-stopped
ports:
- 7005:7005
environment:
DATABASE_URL: postgres://cuisync:[email protected]:5432/cuisync
CORS_REFLECT_ORIGIN: true
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- ./app_keys:/usr/src/app/keys
The "CORS_REFLECT_ORIGIN: true" env variable is useful if you use the desktop app or a deported client, to allow it's CORS origin.
Content type
Image
Digest
sha256:28beabe79…
Size
51 MB
Last updated
about 1 month ago
docker pull simonlclrs/cuisync