Initial commit: Infrastructure Git CI/CD avec Gitea, Woodpecker, PostgreSQL, Consul et Registrator
This commit is contained in:
30
postgres/docker-compose.yml
Normal file
30
postgres/docker-compose.yml
Normal file
@ -0,0 +1,30 @@
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
gitea_db:
|
||||
container_name: gitea_db
|
||||
image: postgres:14
|
||||
restart: always
|
||||
|
||||
environment:
|
||||
POSTGRES_USER: gitea
|
||||
POSTGRES_PASSWORD: Gitea_Db-2025_Secure
|
||||
POSTGRES_DB: gitea
|
||||
|
||||
volumes:
|
||||
- gitgit_syoul_fr_db_data:/var/lib/postgresql/data
|
||||
|
||||
networks:
|
||||
- gitgit_syoul_fr_gitea_net
|
||||
|
||||
# Pas de ports exposés - communication interne uniquement
|
||||
# Le conteneur est accessible via le réseau Docker via les aliases: gitea_db, db
|
||||
|
||||
volumes:
|
||||
gitgit_syoul_fr_db_data:
|
||||
external: true
|
||||
|
||||
networks:
|
||||
gitgit_syoul_fr_gitea_net:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user