docs(env): changes to have more clear info on the example doc
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
# Change to production when ready to deploy in docker or iis
|
# uncomment this out to run in productions
|
||||||
APP_ENV=dev
|
# APP_ENV=production
|
||||||
|
|
||||||
# Gitea Info
|
# Gitea Info
|
||||||
GITEA_URL=git.tuffraid.net
|
GITEA_URL=git repo
|
||||||
GITEA_USERNAME=cowch
|
GITEA_USERNAME=username
|
||||||
GITEA_REPO=logistics_support_tool
|
GITEA_REPO=logistics_support_tool
|
||||||
GITEA_TOKEN=ad8eac91a01e3a1885a1dc10
|
GITEA_TOKEN=ad8eac91a01e3a1885a1dc10
|
||||||
|
|
||||||
|
|||||||
@@ -1,27 +1,15 @@
|
|||||||
---
|
---
|
||||||
services:
|
services:
|
||||||
lst_backend:
|
lst_backend:
|
||||||
# build: . # Tell Docker Compose to build the image using the Dockerfile in the current directory
|
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: ./backend/Dockerfile
|
dockerfile: ./backend/Dockerfile
|
||||||
image: git.tuffraid.net/cowch/logistics_support_tool:backend-latest
|
no_cache: true
|
||||||
container_name: lst_backend # A friendly name for your running container
|
image: git.tuffraid.net/cowch/logistics_support_tool:latest
|
||||||
|
container_name: lst_backend
|
||||||
volumes:
|
volumes:
|
||||||
- /path/to/backend/data:/data
|
- /path/to/backend/data:/data
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
pull_policy: never
|
||||||
lst_frontend:
|
|
||||||
# build: . # Tell Docker Compose to build the image using the Dockerfile in the current directory
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: ./frontend/Dockerfile
|
|
||||||
image: git.tuffraid.net/cowch/logistics_support_tool:frontend-latest
|
|
||||||
container_name: lst_frontend # A friendly name for your running container
|
|
||||||
volumes:
|
|
||||||
- /path/to/frontend/data:/data
|
|
||||||
ports:
|
|
||||||
- "3120:3000"
|
|
||||||
restart: unless-stopped
|
|
||||||
|
|||||||
Reference in New Issue
Block a user