You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.2 KiB
54 lines
1.2 KiB
version: "3.8"
|
|
|
|
services:
|
|
db:
|
|
image: linuxserver/mariadb
|
|
restart: always
|
|
environment:
|
|
PUID: 1000
|
|
PGID: 1000
|
|
MYSQL_ROOT_PASSWORD: example
|
|
MYSQL_DATABASE: main_database
|
|
MYSQL_USER: aplication
|
|
MYSQL_PASSWORD: passApp
|
|
networks:
|
|
- backend
|
|
volumes:
|
|
- "./data_db2:/config"
|
|
ports:
|
|
- "3306:3306"
|
|
|
|
node-red:
|
|
image: nodered/node-red
|
|
restart: unless-stopped
|
|
ports:
|
|
- "1880:1880"
|
|
networks:
|
|
- backend
|
|
volumes:
|
|
#sudo chown -R 1000:1000 ./data_node_red
|
|
- "./data_node_red:/data"
|
|
|
|
back-fanstock:
|
|
image: back-faniota
|
|
build: ./backend
|
|
container_name: backfaniota
|
|
ports:
|
|
- "1997:1997"
|
|
volumes:
|
|
- type: bind
|
|
source: /home/pi/services/nodered_module/data_node_red/binarios
|
|
target: /app/public/binaries
|
|
restart: always
|
|
|
|
front-fanstock:
|
|
image: front-faniota
|
|
build: ./frontend
|
|
container_name: frontfaniota
|
|
ports:
|
|
- "4000:3000"
|
|
restart: always
|
|
|
|
networks:
|
|
backend:
|
|
|
|
|