common/variables.yml

172 lines
3.8 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: ""
2023-09-16 22:48:30 +02:00
# Configuration for new PKI
2023-09-16 19:06:44 +02:00
pki:
organization: Ehtrace
2023-09-16 22:48:30 +02:00
ou: Internal PKI
country: FR
locality: Pessac
ttl: 131400h
key_bits: 4096
key_type: rsa
2023-08-20 01:36:37 +02:00
nomad:
# List of datacenters jobs will be deployed to
datacenters:
- dc1
2023-09-16 19:06:44 +02:00
# Default task driver
driver: docker
2023-09-16 19:06:44 +02:00
consul:
# Domain name used by consul (to lookup services by DNS name)
domain: consul
# A prefix for consul KV store. Same as for vault prefix
prefix: ""
# 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
suffix: ""
2023-09-16 19:06:44 +02:00
# Consul connect config
connect:
upstreams: []
resources:
cpu: 50
memory: 64
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
- hsts@file
- compression@file
- csp-relaxed@file
middlewares: []
# Default env vars for all your tasks
2023-08-20 01:36:37 +02:00
env:
TZ: "[[ .locale.tz ]]"
LANG: "[[ .locale.lang ]]"
2023-08-20 01:36:37 +02:00
proxy:
# A list of IP/hostname for which requests won't go through a (potentially) defined proxy
no_proxy:
- '*.consul'
- localhost
- 127.*
# Address of the proxy
2023-08-29 23:47:21 +02:00
# 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-11-27 14:26:03 +01:00
image: wait-for:23.11-2
2023-10-26 22:44:38 +02:00
2023-08-29 00:22:16 +02:00
# AlmaLinux 8
2023-08-28 23:56:33 +02:00
alma8:
2023-11-27 14:26:03 +01:00
image: alma:8.23.11-4
2023-08-29 13:57:28 +02:00
build_args:
2023-08-28 23:56:33 +02:00
ALMA: 8
2023-10-26 22:44:38 +02:00
2023-08-29 00:22:16 +02:00
# AlmaLinux 9
alma9:
2023-11-27 14:26:03 +01:00
image: alma:9.23.11-4
2023-09-26 14:32:18 +02:00
build_args:
ALMA: 9
2023-10-26 22:44:38 +02:00
2023-08-29 13:57:28 +02:00
# Latest alpine
2023-08-28 23:56:33 +02:00
alpine:
2023-11-27 14:26:03 +01:00
image: alpine:23.11-5
2023-10-26 22:44:38 +02:00
2023-08-29 13:57:28 +02:00
# Alpine with Java8 (temurin)
2023-08-28 23:56:33 +02:00
java8:
2023-11-27 14:26:03 +01:00
image: java:8.23.11-2
2023-08-29 13:57:28 +02:00
build_args:
2023-08-28 23:56:33 +02:00
JAVA_VERSION: 8
2023-10-26 22:44:38 +02:00
2023-08-29 13:57:28 +02:00
# Alpine with Java11 (temurin)
2023-08-28 23:56:33 +02:00
java11:
2023-11-27 14:26:03 +01:00
image: java:11.23.11-2
2023-08-29 13:57:28 +02:00
build_args:
2023-08-28 23:56:33 +02:00
JAVA_VERSION: 11
2023-10-26 22:44:38 +02:00
2023-08-29 13:57:28 +02:00
# Alpine with Java17 (temurin)
2023-08-28 23:56:33 +02:00
java17:
2023-11-27 14:26:03 +01:00
image: java:17.23.11-2
2023-08-29 13:57:28 +02:00
build_args:
2023-08-28 23:56:33 +02:00
JAVA_VERSION: 17
2023-10-26 22:44:38 +02:00
2023-11-20 12:07:52 +01:00
# Alpine with Java21 (temurin)
java21:
2023-11-27 14:26:03 +01:00
image: java:21.23.11-2
2023-11-20 12:07:52 +01:00
build_args:
JAVA_VERSION: 21
2023-09-18 09:44:18 +02:00
# Postgres
postgres15:
2023-11-27 14:26:03 +01:00
image: postgres:15.23.11-3
2023-09-18 09:44:18 +02:00
build_args:
POSTGRES_VERSION: 15
2023-10-18 12:15:11 +02:00
2023-10-26 22:44:38 +02:00
# Mariadb client
2023-10-26 22:51:30 +02:00
mariadb_client:
2023-11-27 14:26:03 +01:00
image: mariadb-client:23.11-2
2023-10-26 22:44:38 +02:00
2023-10-18 12:15:11 +02:00
# MongoDB
mongo50:
2023-11-27 14:26:03 +01:00
image: mongo:5.0.23.11-2
2023-10-18 12:15:11 +02:00
build_args:
MONGO_MAJOR: "5.0"
2023-10-27 15:10:55 +02:00
# SQLite
sqlite:
2023-11-27 14:26:03 +01:00
image: sqlite:23.11-2
2023-11-03 13:53:23 +01:00
# Logrotate
logrotate:
2023-11-27 14:26:03 +01:00
image: logrotate:23.11-2
2023-11-12 10:07:45 +01:00
# Lavinmq (AMQP server)
lavinmq:
2023-11-27 14:26:03 +01:00
image: lavinmq:1.25.0-4