common/variables.yml

118 lines
2.9 KiB
YAML
Raw Normal View History

2023-08-18 23:43:31 +02:00
---
2023-08-20 01:36:37 +02:00
locale:
# Timezone to set inside containers
tz: Europe/Paris
2023-09-01 16:32:48 +02:00
lang: fr_FR.utf8
2023-08-18 23:43:31 +02:00
vault:
# A prefix for all vault mount points. Usefull if you have different environnements
# This is an alternative to using vault namespaces as Nomad Community doesn't support it
prefix: ""
# Connect sidecar configuration
connect:
upstreams: []
resources:
cpu: 50
memory: 64
2023-08-20 01:36:37 +02:00
nomad:
# List of datacenters jobs will be deployed to
datacenters:
- dc1
# Connect sidecar configuration
connect:
upstreams: []
resources:
cpu: 50
memory: 64
2023-08-20 01:36:37 +02:00
consul:
# Domain name used by consul (to lookup services by DNS name)
domain: consul
2023-08-20 01:36:37 +02:00
# Traefik settings
traefik:
# This will be both the service name and the prefix used in tags
instance: traefik
# Defaults list of entrypoints to use
entrypoints:
- https
# Default middlewares to attach
base_middlewares:
2023-08-28 13:23:48 +02:00
- rate-limit-std@file
- inflight-std@file
- security-headers@file
- forward-headers@file
- hsts@file
- compression@file
- csp-relaxed@file
middlewares: []
2023-08-20 01:36:37 +02:00
env:
# A suffix to add to service names. Alternative to Consul namespaces as community Consul
# doesn't support them
# You can set it for example like this
# suffix: "-qa"
# And a postgres service for example will be registered on consul as postgres-qa
# All the policies (vault, consul and nomad) will also be suffixed so they won't clash between
# your env
2023-08-20 01:36:37 +02:00
suffix: ""
proxy:
# A list of IP/hostname for which requests won't go through a (potentially) defined proxy
no_proxy:
- '*.consul'
- localhost
- 127.*
2023-08-29 23:47:21 +02:00
# An address
# address: http://localhost:3128
2023-08-19 18:06:56 +02:00
# The name of a service providing SMTP capabilitites through the service mesh
# Can be used to easily switch from a mailpit to a real smtp relay for example
2023-08-20 01:36:37 +02:00
mail:
# The name of a service providing SMTP capabilitites through the service mesh
# Can be used to easily switch from a mailpit to a real smtp relay for example
smtp_service_name: smtp
2023-08-19 18:06:56 +02:00
2023-08-21 10:30:20 +02:00
prometheus:
# Controls if prometheus metrics should be enabled on all tasks supporting it
enabled: False
2023-08-22 00:11:28 +02:00
docker:
# Your repo where locally built images will be pushed
repo: danielberteaud/
2023-08-28 23:56:33 +02:00
maintainer: Daniel Berteaud <dbd@ehtrace.com>
# Common base images
base_images:
# wait for services to be online, allow configuring service dependencies
2023-08-28 23:56:33 +02:00
wait_for:
2023-09-12 00:05:32 +02:00
image: wait-for:23.09-1
2023-08-29 00:22:16 +02:00
# AlmaLinux 8
2023-08-28 23:56:33 +02:00
alma8:
2023-09-12 00:05:32 +02:00
image: alma:8.23.09-1
2023-08-29 13:57:28 +02:00
build_args:
2023-08-28 23:56:33 +02:00
ALMA: 8
2023-08-29 00:22:16 +02:00
# AlmaLinux 9
alma9:
2023-09-12 00:05:32 +02:00
image: alma:9.23.09-1
2023-08-29 13:57:28 +02:00
# Latest alpine
2023-08-28 23:56:33 +02:00
alpine:
2023-09-12 00:05:32 +02:00
image: alpine:23.09-1
2023-08-29 13:57:28 +02:00
# Alpine with Java8 (temurin)
2023-08-28 23:56:33 +02:00
java8:
2023-09-12 00:05:32 +02:00
image: java:8.23.09-1
2023-08-29 13:57:28 +02:00
build_args:
2023-08-28 23:56:33 +02:00
JAVA_VERSION: 8
2023-08-29 13:57:28 +02:00
# Alpine with Java11 (temurin)
2023-08-28 23:56:33 +02:00
java11:
2023-09-12 00:05:32 +02:00
image: java:11.23.09-1
2023-08-29 13:57:28 +02:00
build_args:
2023-08-28 23:56:33 +02:00
JAVA_VERSION: 11
2023-08-29 13:57:28 +02:00
# Alpine with Java17 (temurin)
2023-08-28 23:56:33 +02:00
java17:
2023-09-12 00:05:32 +02:00
image: java:17.23.09-1
2023-08-29 13:57:28 +02:00
build_args:
2023-08-28 23:56:33 +02:00
JAVA_VERSION: 17