First Commit

This commit is contained in:
Grough 2024-08-27 12:41:09 +02:00
commit ae40312cbd
8 changed files with 237 additions and 0 deletions

20
compose_collabora.yml Normal file
View File

@ -0,0 +1,20 @@
---
services:
collabora:
image: collabora/code:latest
container_name: collabora
environment:
- DOMAIN=collabora.sebastienjourniac.lol
- USERNAME=grough
- PASSWORD=M@gnimar2020
- EDITION=code
volumes:
- /srv/collabora/data:/var/lib/collabora
restart: unless-stopped
networks:
- my_service
networks:
my_service:
external: true

26
compose_foundry.yml Normal file
View File

@ -0,0 +1,26 @@
---
services:
foundry:
image: felddy/foundryvtt:release
container_name: foundryvtt
hostname: hostname
volumes:
- /srv/foundry/data:/data
environment:
- FOUNDRY_PASSWORD=fpassword
- FOUNDRY_USERNAME=fusername
- FOUNDRY_PROXY_PORT=443
- FOUNDRY_PROXY_SSL=true
- FOUNDRY_HOSTNAME=foundryvtt.sebastienjourniac.lol
- CONTAINER_PRESERVE_CONFIG=true
ports:
- target: 30000
published: 30000
protocol: tcp
restart: unless-stopped
networks:
- my_service
networks:
my_service:
external: true

15
compose_gitea.yml Normal file
View File

@ -0,0 +1,15 @@
---
services:
server:
image: gitea/gitea:latest
container_name: gitea
environment:
- USER_UID=1000
- USER_GID=1000
restart: always
networks:
- my_service
volumes:
- /srv/gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro

19
compose_grav.yml Normal file
View File

@ -0,0 +1,19 @@
---
services:
grav:
image: lscr.io/linuxserver/grav:latest
container_name: grav
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Paris
volumes:
- /srv/grav/config:/config
restart: unless-stopped
networks:
- my_service
networks:
my_service:
external: true

33
compose_nextcloud.yml Normal file
View File

@ -0,0 +1,33 @@
---
services:
nextcloud:
image: lscr.io/linuxserver/nextcloud:latest
container_name: nextcloud
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Paris
volumes:
- /srv/nextcloud/config:/config
- /srv/nextcloud/data:/data
restart: unless-stopped
networks:
- my_service
mariadb:
image: lscr.io/linuxserver/mariadb:latest
container_name: nextclouddb
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Paris
- MYSQL_ROOT_PASSWORD=${PASSWD_ROOT}
volumes:
- /srv/mariadb/config:/config
restart: unless-stopped
networks:
- my_service
networks:
my_service:
external: true

34
compose_swag.yml Normal file
View File

@ -0,0 +1,34 @@
---
services:
swag:
image: lscr.io/linuxserver/swag:latest
container_name: swag
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Paris
- URL=sebastienjourniac.lol
- VALIDATION=http
- SUBDOMAINS=grav, gitea, collabora, nextcloud, foundryvtt, webdav, code-server, zabbix #optional
- CERTPROVIDER= #optional
- DNSPLUGIN= #optional
- PROPAGATION= #optional
- EMAIL=sebastien.journiac@orange.fr #optional
- ONLY_SUBDOMAINS=true #optional
- EXTRA_DOMAINS= #optional
- STAGING=false #optional
volumes:
- /srv/swag/config:/config
ports:
- 443:443
- 80:80 #optional
restart: unless-stopped
networks:
- my_service
networks:
my_service:
external: true

20
compose_vscode.yml Normal file
View File

@ -0,0 +1,20 @@
---
services:
code-server:
image: lscr.io/linuxserver/code-server:latest
container_name: code-server
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Paris
- PASSWORD=vspassword
- SUDO_PASSWORD=sudoVsPassWordCodeServer
volumes:
- /srv/code-server/config
restart: unless-stopped
networks:
- my_service
networks:
my_service:
external: true

70
compose_zabbix.yml Normal file
View File

@ -0,0 +1,70 @@
---
services:
zabbix-server:
image: zabbix/zabbix-server-mysql:alpine-7.0-latest
container_name: zabbix-server
environment:
DB_SERVER_HOST: zabbix-mariadb
MYSQL_DATABASE: zabbix
MYSQL_USER: zabbix
MYSQL_PASSWORD: zabbixpass
MYSQL_ROOT_PASSWORD: rootpass
ZBX_JAVAGATEWAY_ENABLE: 'true'
ZBX_STARTAGENTS: 5
volumes:
- zbx_server_data:/var/lib/zabbix
depends_on:
- zabbix-mariadb
networks:
- zabbix-net
zabbix-web:
image: zabbix/zabbix-web-nginx-mysql:alpine-7.0-latest
container_name: zabbix-web
environment:
DB_SERVER_HOST: zabbix-mariadb
MYSQL_DATABASE: zabbix
MYSQL_USER: zabbix
MYSQL_PASSWORD: zabbixpass
MYSQL_ROOT_PASSWORD: rootpass
ZBX_SERVER_HOST: zabbix-server
PHP_TZ: Europe/Paris
depends_on:
- zabbix-server
- zabbix-mariadb
networks:
- zabbix-net
- my_service
zabbix-mariadb:
image: mariadb:11.2
container_name: zabbix-mariadb
environment:
MARIADB_DATABASE: zabbix
MARIADB_USER: zabbix
MARIADB_PASSWORD: zabbixpass
MARIADB_ROOT_PASSWORD: rootpass
volumes:
- zbx_db_data:/var/lib/mysql
networks:
- zabbix-net
zabbix-agent:
image: zabbix/zabbix-agent2:alpine-7.0-latest
container_name: zabbix-agent
environment:
ZBX_HOSTNAME: "Zabbix agent"
ZBX_SERVER_HOST: zabbix-server
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks:
- zabbix-net
volumes:
zbx_server_data:
zbx_db_data:
networks:
zabbix-net:
my_service:
external: true