Ajout des fichiers de configs et goss.yaml de ap31-test

This commit is contained in:
2025-10-10 09:33:35 +02:00
parent 27c9d1d01a
commit 621e149b04
3 changed files with 67 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
services:
payara:
image: payara/server-full:6.2025.9-jdk17
container_name: payara
ports:
- "8080:8080"
- "4848:4848"
env_file:
- "variables.env"
restart: unless-stopped
db:
image: mariadb:latest
container_name: db
ports:
- "3336:3306"
env_file:
- "variables.env"
volumes:
- ./data/db_data:/var/lib/mysql
phpmyadmin:
image: phpmyadmin:latest
container_name: phpmyadmin
restart: always
ports:
- 2500:80
environment:
- PMA_ARBITRARY=1
env_file:
- "variables.env"

28
configs/goss.yaml Normal file
View File

@@ -0,0 +1,28 @@
service:
docker:
enabled: true
running: true
group:
docker:
exists: true
gid: 994
interface:
eth0:
exists: true
addrs:
- 172.16.0.101/24
- fe80::be24:11ff:fed2:d5ff/64
mtu: 1500
http:
http://ap31-test.sio.lan:8080/:
status: 200
allow-insecure: false
no-follow-redirects: false
timeout: 10000
body: []
https://ap31-test.sio.lan:4848/:
status: 200
allow-insecure: true
no-follow-redirects: false
timeout: 10000
body: []

7
configs/variables.env Normal file
View File

@@ -0,0 +1,7 @@
MYSQL_DATABASE=bdclient
MYSQL_HOST=db
MYSQL_PORT=3306
MYSQL_USER=adminBDCli
MYSQL_PASSWORD=u@4xKH@X
MYSQL_ROOT_PASSWORD=2Fc#$9Fn