diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index c537cc6..abd525e 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -1,4 +1,4 @@ -name: Gitea Actions Demo +name: Gitea Actions Demo 2 run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 on: [push] diff --git a/gitea/docker-compose.yml b/gitea/docker-compose.yml index aed0674..ac8751c 100644 --- a/gitea/docker-compose.yml +++ b/gitea/docker-compose.yml @@ -1,6 +1,7 @@ networks: gitea: external: false + name: gitea-net services: server: @@ -10,7 +11,7 @@ services: - USER_UID=1000 - USER_GID=1000 - GITEA__database__DB_TYPE=postgres - - GITEA__database__HOST=db:5432 + - GITEA__database__HOST=gitea-db:5432 - GITEA__database__NAME=gitea - GITEA__database__USER=gitea - GITEA__database__PASSWD=gitea @@ -29,6 +30,7 @@ services: db: image: docker.io/library/postgres:14 + container_name: gitea-db restart: unless-stopped environment: - POSTGRES_USER=gitea @@ -41,15 +43,15 @@ services: runner: image: docker.io/gitea/act_runner:nightly + container_name: gitea-runner environment: CONFIG_FILE: /config.yaml - GITEA_INSTANCE_URL: http://gitea:3000 + GITEA_INSTANCE_URL: "http://192.168.1.202:3005" GITEA_RUNNER_REGISTRATION_TOKEN: "JjKRS66pgttENtYVVmhnT3TpfjVMfH7mIdEY19R3" GITEA_RUNNER_NAME: "services-runner" - GITEA_RUNNER_LABELS: "${RUNNER_LABELS}" + GITEA_RUNNER_LABELS: "services" volumes: - ./runner/config.yaml:/config.yaml - ./runner/data:/data - /var/run/docker.sock:/var/run/docker.sock - networks: - - gitea + \ No newline at end of file