Files
tvcloud.fr/docker-compose.yaml

103 lines
2.0 KiB
YAML
Raw Normal View History

2025-12-15 12:00:28 +01:00
name: tvcloud
2025-12-16 00:03:52 +01:00
networks:
nextcloud-frontend:
nextcloud-backend:
2025-12-17 00:16:52 +01:00
gitea-frontend:
gitea-backend:
2025-12-22 15:39:39 +01:00
redmine-frontend:
redmine-backend:
2025-12-16 00:03:52 +01:00
volumes:
2025-12-22 11:15:57 +01:00
db:
2025-12-16 00:03:52 +01:00
nextcloud:
2025-12-17 00:16:52 +01:00
gitea:
2025-12-22 15:39:39 +01:00
redmine:
2025-12-16 00:03:52 +01:00
2025-12-15 12:00:28 +01:00
services:
2025-12-16 00:03:52 +01:00
proxy:
2025-12-15 12:00:28 +01:00
build:
2025-12-16 12:51:46 +01:00
context: ./services/nginx
2025-12-23 11:29:15 +01:00
args:
DOMAIN: ${DOMAIN:?DOMAIN not set}
2025-12-15 12:00:28 +01:00
networks:
2025-12-16 00:03:52 +01:00
- nextcloud-frontend
2025-12-17 00:16:52 +01:00
- gitea-frontend
2025-12-22 15:39:39 +01:00
- redmine-frontend
2025-12-15 12:00:28 +01:00
ports:
- "80:80"
- "443:443"
volumes:
- nextcloud:/var/www/html:ro
depends_on:
2025-12-16 00:03:52 +01:00
- nextcloud
2025-12-17 00:16:52 +01:00
- gitea
2025-12-22 15:39:39 +01:00
- redmine
2025-12-15 12:00:28 +01:00
2025-12-22 11:15:57 +01:00
db:
build:
context: ./services/mariadb
environment:
- MARIADB_ROOT_PASSWORD=password
networks:
- nextcloud-backend
- gitea-backend
2025-12-22 15:39:39 +01:00
- redmine-backend
2025-12-22 11:15:57 +01:00
volumes:
- db:/var/lib/mysql
2025-12-16 00:03:52 +01:00
nextcloud:
2025-12-15 12:00:28 +01:00
image: nextcloud:31-fpm
2025-12-22 11:15:57 +01:00
build:
context: ./services/nextcloud
2025-12-15 12:00:28 +01:00
environment:
2025-12-22 11:15:57 +01:00
- MYSQL_HOST=db
- MYSQL_PASSWORD=password
2025-12-16 12:51:46 +01:00
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
2025-12-15 12:00:28 +01:00
networks:
2025-12-16 00:03:52 +01:00
- nextcloud-frontend
- nextcloud-backend
2025-12-15 12:00:28 +01:00
volumes:
- nextcloud:/var/www/html
depends_on:
2025-12-22 11:15:57 +01:00
- db
2025-12-17 00:16:52 +01:00
gitea:
image: docker.gitea.com/gitea:1.25.2
environment:
- USER_UID=1000
- USER_GID=1000
2025-12-22 11:15:57 +01:00
- GITEA__database__DB_TYPE=mysql
- GITEA__database__HOST=db:3306
2025-12-17 00:16:52 +01:00
- GITEA__database__NAME=gitea
- GITEA__database__USER=gitea
2025-12-22 11:15:57 +01:00
- GITEA__database__PASSWD=password
2025-12-17 00:16:52 +01:00
restart: always
networks:
- gitea-frontend
- gitea-backend
volumes:
- gitea:/data
- /etc/timezone:/etc/timezones:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "222:22"
depends_on:
2025-12-22 11:15:57 +01:00
- db
2025-12-22 15:39:39 +01:00
redmine:
image: redmine:6-alpine
environment:
- REDMINE_DB_MYSQL=db
- REDMINE_DB_USERNAME=redmine
- REDMINE_DB_PASSWORD=password
restart: always
networks:
- redmine-frontend
- redmine-backend
volumes:
- redmine:/usr/src/redmine/files
depends_on:
- db