mirror of
https://github.com/fruworg/infrastructure.git
synced 2024-11-16 05:17:17 +03:00
28 lines
492 B
YAML
28 lines
492 B
YAML
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
|