All checks were successful
backend-action / build-image (push) Successful in 42s
73 lines
1.5 KiB
YAML
73 lines
1.5 KiB
YAML
services:
|
|
backend:
|
|
restart: always
|
|
image: gitea.cognizata.com/atapy/sorvor
|
|
build:
|
|
target: app # choose a stage to use
|
|
ports:
|
|
- 3000:3000
|
|
- 3001:3001
|
|
volumes:
|
|
- ./sqlite.db:/app/sqlite.db
|
|
env_file:
|
|
- .env
|
|
frontend:
|
|
restart: always
|
|
image: gitea.cognizata.com/atapy/sorvor-front
|
|
build:
|
|
context: ../sorvor-front
|
|
args:
|
|
- VUE_APP_API_URL
|
|
ports:
|
|
- 3002:3000
|
|
minio:
|
|
restart: always
|
|
image: quay.io/minio/minio
|
|
command: server /data --console-address ":9001"
|
|
ports:
|
|
- 9000:9000
|
|
- 9001:9001
|
|
volumes:
|
|
- ./minio/data:/data
|
|
env_file:
|
|
- .env
|
|
caddy:
|
|
build:
|
|
context: ./caddy/
|
|
target: caddy
|
|
restart: unless-stopped
|
|
env_file:
|
|
- .env
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
- "443:443/udp"
|
|
volumes:
|
|
- ./caddy/Caddyfile:/etc/caddy/Caddyfile
|
|
- ./caddy/data/:/data
|
|
- ./caddy/config/:/config
|
|
- ./caddy/logs/:/var/log/caddy/
|
|
|
|
sqliteweb:
|
|
image: tomdesinto/sqliteweb
|
|
ports:
|
|
- 8080:8080
|
|
volumes:
|
|
- ./sqlite.db:/db/sqlite.db
|
|
command: sqlite.db
|
|
crowdsec:
|
|
image: crowdsecurity/crowdsec
|
|
environment:
|
|
COLLECTIONS: "crowdsecurity/caddy"
|
|
depends_on:
|
|
- "caddy"
|
|
volumes:
|
|
- ./caddy/logs:/var/log/caddy
|
|
- crowdsec-db:/var/lib/crowdsec/data/
|
|
- crowdsec-config:/etc/crowdsec/
|
|
- ./crowdsec/acquis.yaml:/etc/crowdsec/acquis.yaml
|
|
|
|
volumes:
|
|
crowdsec-db:
|
|
crowdsec-config:
|