Create docker-compose.yml

This commit is contained in:
Руслан 2023-08-13 21:22:03 +06:00 committed by GitHub
parent fa4c096476
commit e54f63d0f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

27
gitea/docker-compose.yml Normal file
View File

@ -0,0 +1,27 @@
version: "3"
services:
gitea:
hostname: gitea
image: gitea/gitea:latest
container_name: gitea
restart: always
networks:
- default
volumes:
- ./data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- 127.0.0.1:50005:3000
- 127.0.0.1:50006:22
env_file:
- gitea.env
networks:
default:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.27.27.0/24