diff --git a/.env-example b/.env-example index a0b90fd..efee208 100644 --- a/.env-example +++ b/.env-example @@ -1,9 +1,9 @@ -# Change to production when ready to deploy in docker or iis -APP_ENV=dev +# uncomment this out to run in productions +# APP_ENV=production # Gitea Info -GITEA_URL=git.tuffraid.net -GITEA_USERNAME=cowch +GITEA_URL=git repo +GITEA_USERNAME=username GITEA_REPO=logistics_support_tool GITEA_TOKEN=ad8eac91a01e3a1885a1dc10 diff --git a/docker-compose-example.yml b/docker-compose-example.yml index 03590f2..7324c74 100644 --- a/docker-compose-example.yml +++ b/docker-compose-example.yml @@ -1,27 +1,15 @@ --- services: lst_backend: - # build: . # Tell Docker Compose to build the image using the Dockerfile in the current directory build: context: . dockerfile: ./backend/Dockerfile - image: git.tuffraid.net/cowch/logistics_support_tool:backend-latest - container_name: lst_backend # A friendly name for your running container + no_cache: true + image: git.tuffraid.net/cowch/logistics_support_tool:latest + container_name: lst_backend volumes: - /path/to/backend/data:/data ports: - "8080:8080" restart: unless-stopped - - 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 + pull_policy: never