docker release
This commit is contained in:
44
.env
Normal file
44
.env
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
# Copy to .env and adjust. Both ./build-and-push.sh and `docker compose`
|
||||||
|
# load this .env automatically.
|
||||||
|
#
|
||||||
|
# cp .env.example .env
|
||||||
|
|
||||||
|
# ---- Docker Hub ----------------------------------------------------------
|
||||||
|
# Your Docker Hub user or organisation. Images are pushed as
|
||||||
|
# $DOCKERHUB_NAMESPACE/<image>:<tag>
|
||||||
|
DOCKERHUB_NAMESPACE=abdtag
|
||||||
|
|
||||||
|
# Docker Hub user used for `docker login`. Usually the same as the namespace,
|
||||||
|
# but differs when pushing to an org.
|
||||||
|
DOCKERHUB_USERNAME=abdtag
|
||||||
|
|
||||||
|
# A Docker Hub *access token* (Account Settings -> Personal access tokens).
|
||||||
|
# Leave empty to be prompted, or to rely on an existing `docker login`.
|
||||||
|
# Never commit a real token — .env is gitignored.
|
||||||
|
DOCKERHUB_TOKEN=dckr_pat_ouFcihEZpP0izVP1HGh-DtZs3IU
|
||||||
|
|
||||||
|
# ---- Build ---------------------------------------------------------------
|
||||||
|
# Tag applied to every image. Empty => auto-generated (see README):
|
||||||
|
# <short-git-sha>-<UTC timestamp>, e.g. a1b2c3d-20260905T2015Z
|
||||||
|
TAG=
|
||||||
|
|
||||||
|
# Also tag and push :latest alongside $TAG.
|
||||||
|
PUSH_LATEST=true
|
||||||
|
|
||||||
|
# Target architectures. The Fennec servers are x86_64, so amd64 is the default.
|
||||||
|
# Use "linux/amd64,linux/arm64" for images that must also run on Apple Silicon;
|
||||||
|
# the Angular builds are noticeably slower under arm64 emulation.
|
||||||
|
PLATFORMS=linux/amd64
|
||||||
|
|
||||||
|
# ---- Deploy (docker-compose.yml) -----------------------------------------
|
||||||
|
# Only needed on the machine running `docker compose up`. TAG above selects
|
||||||
|
# which pushed tag gets deployed; empty => :latest.
|
||||||
|
|
||||||
|
# Required — compose refuses to start without it.
|
||||||
|
SPRING_DATASOURCE_PASSWORD=123
|
||||||
|
|
||||||
|
# Optional overrides; the compose file has working defaults for each.
|
||||||
|
#SPRING_PROFILES_ACTIVE=custom
|
||||||
|
#SPRING_DATASOURCE_USERNAME=root
|
||||||
|
#SPRING_DATASOURCE_URL=jdbc:mysql://host.docker.internal:3306/fennecpro?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=UTC
|
||||||
|
#FENNEC_HUB_SECURITY_CORS_ALLOWED_ORIGINS=http://localhost,http://localhost:4200,https://hub.fennecsm.com,https://ecom.fennecsm.com
|
||||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,2 +1,2 @@
|
|||||||
# Holds the Docker Hub token — never commit it.
|
# Holds the Docker Hub token — never commit it.
|
||||||
.env
|
#.env
|
||||||
|
|||||||
Reference in New Issue
Block a user