fix: remove runner and fixed container names for production
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m17s
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m17s
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
build: .
|
|
||||||
image: gitea.blyzer.com.br/blyzer/fasto:latest
|
image: gitea.blyzer.com.br/blyzer/fasto:latest
|
||||||
container_name: fasto-app
|
build: .
|
||||||
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "3001:3001"
|
- "3001:3001"
|
||||||
environment:
|
environment:
|
||||||
@@ -14,31 +14,16 @@ services:
|
|||||||
- DB_NAME=${DB_NAME:-agenciac_comia}
|
- DB_NAME=${DB_NAME:-agenciac_comia}
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
restart: unless-stopped
|
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
container_name: fasto-db
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
MYSQL_ROOT_PASSWORD: ${DB_PASSWORD:-root_password}
|
MYSQL_ROOT_PASSWORD: ${DB_PASSWORD:-root_password}
|
||||||
MYSQL_DATABASE: ${DB_NAME:-agenciac_comia}
|
MYSQL_DATABASE: ${DB_NAME:-agenciac_comia}
|
||||||
volumes:
|
volumes:
|
||||||
- ./agenciac_comia.sql:/docker-entrypoint-initdb.d/init.sql
|
- ./agenciac_comia.sql:/docker-entrypoint-initdb.d/init.sql
|
||||||
- db_data:/var/lib/mysql
|
- db_data:/var/lib/mysql
|
||||||
restart: unless-stopped
|
|
||||||
|
|
||||||
runner:
|
|
||||||
image: gitea/act_runner:latest
|
|
||||||
container_name: fasto-runner
|
|
||||||
environment:
|
|
||||||
- GITEA_INSTANCE_URL=https://gitea.example.com
|
|
||||||
- GITEA_RUNNER_REGISTRATION_TOKEN=CHANGE_ME_TOKEN_FROM_SERVER
|
|
||||||
- GITEA_RUNNER_NAME=${GITEA_RUNNER_NAME:-fasto-runner}
|
|
||||||
- GITEA_RUNNER_LABELS=${GITEA_RUNNER_LABELS:-ubuntu-latest:docker://node:16-bullseye}
|
|
||||||
volumes:
|
|
||||||
- ./fasto_runner/data:/data
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
restart: always
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db_data:
|
db_data:
|
||||||
|
|||||||
Reference in New Issue
Block a user