diff --git a/arm/docker-compose.yml b/arm/docker-compose.yml index 7afc6d7..3f11282 100644 --- a/arm/docker-compose.yml +++ b/arm/docker-compose.yml @@ -1,5 +1,42 @@ --- services: + server: + image: codeberg.org/forgejo/forgejo:1.21.10-0 + container_name: forgejo + environment: + - USER_UID=1000 + - USER_GID=1000 + - GITEA__database__DB_TYPE=mysql + - GITEA__database__HOST=db:3306 + - GITEA__database__NAME=gitea + - GITEA__database__USER=gitea + - GITEA__database__PASSWD=$GITEA__database__PASSWD + restart: always + networks: + - gitea_main + volumes: + - /home/ubuntu/gitea/data:/data + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + ports: + - "3002:3000" + - "23:22" + depends_on: + - db + + db: + image: mysql:8 + restart: always + environment: + - MYSQL_ROOT_PASSWORD=$MYSQL_ROOT_PASSWORD + - MYSQL_USER=gitea + - MYSQL_PASSWORD=$MYSQL_PASSWORD + - MYSQL_DATABASE=gitea + networks: + - gitea_main + volumes: + - /home/ubuntu/gitea/mysql:/var/lib/mysql + gotify: image: docker.mafyuh.xyz/gotify/server-arm7@sha256:b1fff7e7940fbf0526c2cff20df7a0f41d4618ea373fa9f812fb335c3ddb0b98 container_name: gotify