You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 

34 lines
719 B

version: "3"
services:
gitea_instance:
image: gitea/gitea:1.12.5
container_name: gitea_instance
hostname: gitea_instance
restart: always
depends_on:
- gitea_db
env_file:
- ./.env
ports:
- "222:22"
- "3000:3000"
volumes:
- ./etc/gitea_instance/data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
gitea_db:
image: mariadb:10
container_name: gitea_db
hostname: gitea_db
restart: unless-stopped
env_file:
- ./.env
volumes:
- ./etc/gitea_db/data/:/var/lib/mysql