Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
8981505599 | |||
c06cc4ba56 | |||
c23ca58aba | |||
97fa278983 |
@ -1,6 +1,6 @@
|
||||
# vagrant
|
||||
|
||||
le 2024-10-08 09h30 - ps
|
||||
le 2024-11-29 00h30 - ps
|
||||
|
||||
Ce dépôt héberge des **Vagrantfile** dont :
|
||||
* **dns** : Vagrantfile pour 2 serveurs **Bind9** (1 maitre et un esclave), tests **goss** chainés
|
||||
@ -18,9 +18,11 @@ Ce dépôt héberge des **Vagrantfile** dont :
|
||||
* **glpi** : Vagrantfile pour VM Debian 11 GLPI 10.0.7
|
||||
* **guacamole** : Vagrantfile pour Apache Guacamole dockerise sans frontal
|
||||
* **k8s** : kubernetes 1.26.00 + playbook pour master **k8s-master** et 2 noeuds **node-1** et **node-2**
|
||||
* **lldap** : Vagrantfile pour serveur LDAP en mode service **lldap***
|
||||
* **k3s-awx** : Vagrantfile + script **inst-awx** pour installation **Ansible AWX** sur **k3s** avec **awx-on-k3s**
|
||||
* **kea-dhcp-ha** : Vagrantfile pour serveur DHCP kea - HA - tests non finalisés
|
||||
* **lldap** : Vagrantfile pour serveur LDAP en mode service **lldap**
|
||||
* **minione**
|
||||
* **netbox** : Vagrantfile pour Netbox dockerisée
|
||||
* **rundeck** : Vagrantfile + playbook pour installation avec Mariadb
|
||||
* **samba-ad-dc** : Vagrantfile + playbook pour **Samba 4.17 ad-dc** sur **Debian 12 Bookworm**
|
||||
|
||||
|
2
docker-traefik-nextcloud/Vagrantfile
vendored
2
docker-traefik-nextcloud/Vagrantfile
vendored
@ -12,7 +12,7 @@ Vagrant.configure("2") do |config|
|
||||
|
||||
# Every Vagrant development environment requires a box. You can search for
|
||||
# boxes at https://vagrantcloud.com/search.
|
||||
config.vm.box = "debian/bullseye64"
|
||||
config.vm.box = "debian/bookworm64"
|
||||
config.vm.hostname = "nextcloud-traefik"
|
||||
|
||||
# Disable automatic box update checking. If you disable this, then
|
||||
|
@ -82,7 +82,7 @@ cat > ./config/dynamic.yml <<EOT
|
||||
http:
|
||||
routers:
|
||||
traefik:
|
||||
rule: "Host(`traefik.docker.localhost`)"
|
||||
rule: "Host(\`traefik.docker.localhost\`)"
|
||||
service: "api@internal"
|
||||
tls:
|
||||
domains:
|
||||
@ -100,7 +100,7 @@ tls:
|
||||
EOT
|
||||
|
||||
|
||||
cat > nextcloud.yml <<'EOT'
|
||||
cat > nextcloud.yml <<EOT
|
||||
version: '2'
|
||||
|
||||
volumes:
|
||||
@ -145,14 +145,14 @@ services:
|
||||
- nxc
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.app.rule=Host(`mon.nxc`)"
|
||||
- "traefik.http.routers.app.rule=Host(\`mon.nxc\`)"
|
||||
- "traefik.http.routers.app.tls=true"
|
||||
environment:
|
||||
- MYSQL_PASSWORD=Azerty1+
|
||||
- MYSQL_DATABASE=nextcloud
|
||||
- MYSQL_USER=nextcloud
|
||||
- MYSQL_HOST=db
|
||||
'EOT'
|
||||
EOT
|
||||
|
||||
docker network create proxy
|
||||
docker compose -f traefik.yml up -d
|
||||
|
Reference in New Issue
Block a user