mirror of
https://github.com/fruworg/infrastructure.git
synced 2025-01-18 06:30:51 +03:00
Create docker-compose.yml
This commit is contained in:
parent
fa4c096476
commit
e54f63d0f5
27
gitea/docker-compose.yml
Normal file
27
gitea/docker-compose.yml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user