30 lines
487 B
YAML
30 lines
487 B
YAML
version: "3"
|
|
|
|
services:
|
|
server:
|
|
image: gitea/gitea:1.17
|
|
container_name: gitea
|
|
labels:
|
|
com.centurylinklabs.watchtower.enable: true
|
|
env_file:
|
|
- .env
|
|
- .secret.env
|
|
restart: always
|
|
volumes:
|
|
- data:/data
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
ports:
|
|
- "3022:22"
|
|
- "22:22"
|
|
networks:
|
|
apps:
|
|
aliases:
|
|
- gitea
|
|
|
|
volumes:
|
|
data:
|
|
|
|
networks:
|
|
apps:
|
|
external: true
|