Update .gitea/workflows/services.yml
This commit is contained in:
@@ -3,7 +3,7 @@ on: push
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
# Global Env Variables readable in all jobs of this workflow
|
# Global Env Variables readable in all jobs of this workflow
|
||||||
MONGODB_CLUSTER_ADDRESS: mongodb
|
MONGODB_CLUSTER_ADDRESS: mongo.coursow.de
|
||||||
MONGODB_USERNAME: root
|
MONGODB_USERNAME: root
|
||||||
MONGODB_PASSWORD: supersecretpassword
|
MONGODB_PASSWORD: supersecretpassword
|
||||||
MONGODB_DB_NAME: actions-environment
|
MONGODB_DB_NAME: actions-environment
|
||||||
@@ -17,11 +17,11 @@ jobs:
|
|||||||
services:
|
services:
|
||||||
mongodb:
|
mongodb:
|
||||||
image: mongo:latest
|
image: mongo:latest
|
||||||
|
ports:
|
||||||
|
- 27017:27017
|
||||||
env:
|
env:
|
||||||
MONGO_INITDB_ROOT_USERNAME: root
|
MONGO_INITDB_ROOT_USERNAME: root
|
||||||
MONGO_INITDB_ROOT_PASSWORD: supersecretpassword
|
MONGO_INITDB_ROOT_PASSWORD: supersecretpassword
|
||||||
options: >-
|
|
||||||
--net-alias=mongodb
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install NodeJS
|
- name: Install NodeJS
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
|
|||||||
Reference in New Issue
Block a user