zpzc-3/gitea.yml

28 lines
627 B
YAML
Raw Normal View History

2024-02-03 13:46:00 +01:00
version: "3.6"
2024-01-31 16:08:45 +01:00
networks:
gitea:
2024-01-31 17:07:48 +01:00
external: false
2024-01-31 16:08:45 +01:00
services:
server:
image: gitea/gitea:1.13.2
container_name: gitea
environment:
2024-01-31 17:06:56 +01:00
GITEA__database__DB_TYPE: postgres
2024-01-31 17:06:09 +01:00
GITEA__database__HOST: 10.0.0.2:5432
GITEA__database__NAME: zpzc-s434686-db
GITEA__database__USER: zpzc-s434686-user
GITEA__database__PASSWD: zpzc-s434686-password
2024-01-31 16:08:45 +01:00
restart: always
networks:
- gitea
volumes:
- ./gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
2024-01-31 17:03:51 +01:00
- "3000:3000"
- "2222:2222"
2024-01-31 16:08:45 +01:00
- "443:443"
2024-01-31 17:19:04 +01:00
- "80:3000"