Initial commit: Infrastructure Git CI/CD avec Gitea, Woodpecker, PostgreSQL, Consul et Registrator
This commit is contained in:
46
gitea/docker-compose.yml
Normal file
46
gitea/docker-compose.yml
Normal file
@ -0,0 +1,46 @@
|
||||
GNU nano 7.2 /opt/gitea/docker-compose.yml
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
gitea:
|
||||
container_name: gitea
|
||||
image: gitea/gitea:latest
|
||||
restart: always
|
||||
|
||||
env_file:
|
||||
- gitea.env
|
||||
|
||||
networks:
|
||||
- gitgit_syoul_fr_gitea_net
|
||||
|
||||
volumes:
|
||||
- gitgit_syoul_fr_gitea_data:/data
|
||||
|
||||
ports:
|
||||
- "3300:3000"
|
||||
- "2222:22"
|
||||
|
||||
# depends_on:
|
||||
# - gitea_db
|
||||
|
||||
# gitea_db:
|
||||
# container_name: gitea_db
|
||||
# image: postgres:14
|
||||
# restart: always
|
||||
#
|
||||
# environment:
|
||||
# POSTGRES_DB: gitea
|
||||
# POSTGRES_USER: gitea
|
||||
# POSTGRES_PASSWORD: Gitea_Db-2025_Secure
|
||||
|
||||
volumes:
|
||||
gitgit_syoul_fr_gitea_data:
|
||||
external: true
|
||||
|
||||
|
||||
networks:
|
||||
gitgit_syoul_fr_gitea_net:
|
||||
external: true
|
||||
# gitgit_syoul_fr_db_data:
|
||||
# external: true
|
||||
|
||||
Reference in New Issue
Block a user