24 lines
533 B
YAML
24 lines
533 B
YAML
version: "2"
|
|
|
|
networks:
|
|
gitea:
|
|
external: false
|
|
|
|
services:
|
|
server:
|
|
build: .
|
|
image: codeberg.org/forgejo/forgejo:1.21
|
|
container_name: gitea
|
|
environment:
|
|
- USER_UID=1000
|
|
- USER_GID=1000
|
|
- RUN_MODE=prod
|
|
restart: always
|
|
networks:
|
|
- gitea
|
|
volumes:
|
|
- .:/data
|
|
ports:
|
|
- "3000:3000"
|
|
- "222:22"
|