pzc-hetzner/zadanie_1/docker-compose.yml

24 lines
524 B
YAML
Raw Normal View History

2023-01-01 18:41:04 +01:00
version: "2"
services:
server:
image: gitea/gitea:latest
environment:
- GITEA__database__DB_TYPE=mysql
- GITEA__database__HOST="10.0.0.2:3306"
- GITEA__database__NAME=gitea
- GITEA__database__USER=root
- GITEA__database__PASSWD=chuj123456
restart: always
volumes:
- ./data:/var/lib/gitea
- ./config:/etc/gitea
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "2222:2222"
volumes:
data: {}