added the a preparing ansible playbooks for automating new servers
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
---
|
||||
# project directory
|
||||
REPO_DIRE_NAME: /var/services
|
||||
|
||||
# nexus3, gitlab, and traefik docker image address and version
|
||||
NEXUS_IMAGE: sonatype/nexus3
|
||||
NEXUS_VERSION: 3.38.0
|
||||
TRAEFIK_IMAGE: traefik
|
||||
TRAEFIK_VERSION: v2.6.1
|
||||
|
||||
# Domain and subdomain definition
|
||||
DOMAIN_NAME: ansible.mecan.ir
|
||||
TRAEFIK_SUB_DOMAIN: web
|
||||
NEXUS_SUB_DOMAIN: repo
|
||||
HUB_SUB_DOMAIN: hub
|
||||
|
||||
# pass generate with this commands
|
||||
# htpasswd -nbs user pass
|
||||
WEB_AUTH_USER: DockerMe
|
||||
TRAEFIK_ACME_EMAIL: ahmad@DockerMe.ir
|
||||
|
||||
# Nexus configuration
|
||||
NEXUS_ADMIN_USERNAME: admin
|
||||
NEXUS_SERVICE_URL: "https://{{ NEXUS_SUB_DOMAIN }}.{{ DOMAIN_NAME }}"
|
||||
NEXUS_REPO_USERNAME: repo
|
||||
NEXUS_REPO_EMAIL: ahmad@DockerMe.ir
|
||||
DOCKER_REPO_BLOBSTORE: docker
|
||||
Reference in New Issue
Block a user