-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.sync.example
More file actions
31 lines (29 loc) · 1.3 KB
/
.env.sync.example
File metadata and controls
31 lines (29 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copy to api/.env.sync or web/.env.sync (gitignored — see web/.gitignore).
# Used by the desktop app in `tauri dev` only: “Sync DB prod → dev” button.
#
# SQL clients: if mysqldump/mysql are not installed, GOUPIX_SYNC_USE_DOCKER=auto (default)
# runs `docker run mariadb:11` (same image as api/docker-compose.yml).
# Docker Desktop must be running — no MariaDB install on the host required.
#
# Optional: full paths to Windows .exe → GOUPIX_MYSQLDUMP_BIN / GOUPIX_MYSQL_BIN
#
# Hosting (e.g. o2switch): Remote MySQL must allow each developer’s public IP.
# SQL user: SELECT + SHOW VIEW on the prod database only.
#
# GOUPIX_SYNC_USE_DOCKER=auto # auto | always | never
# GOUPIX_SYNC_DOCKER_IMAGE=mariadb:11
# GOUPIX_DOCKER_BIN=docker
# Host seen from the container to reach MySQL on the host (published port 3306):
# GOUPIX_SYNC_LOCAL_DOCKER_HOST=host.docker.internal
# --- Production (read-only dump source) ---
GOUPIX_SYNC_PROD_HOST=nombre.o2switch.net
GOUPIX_SYNC_PROD_PORT=3306
GOUPIX_SYNC_PROD_USER=gule2572_goupixdex
GOUPIX_SYNC_PROD_PASSWORD=
GOUPIX_SYNC_PROD_DATABASE=gule2572_goupixdex
# --- Local Docker (default api/docker-compose.yml) ---
GOUPIX_SYNC_LOCAL_HOST=127.0.0.1
GOUPIX_SYNC_LOCAL_PORT=3306
GOUPIX_SYNC_LOCAL_USER=goupix
GOUPIX_SYNC_LOCAL_PASSWORD=goupix
GOUPIX_SYNC_LOCAL_DATABASE=goupixdex