Add Docker deployment configuration and CI/CD pipeline
This commit is contained in:
29
docker-compose.yml
Normal file
29
docker-compose.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
repodructor:
|
||||
image: gitea.nucleoriofrio.com/nucleo000/repodructor:latest
|
||||
container_name: repodructor
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- type: volume
|
||||
source: nas-music
|
||||
target: /app/public/music
|
||||
read_only: true
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- NUXT_HOST=0.0.0.0
|
||||
- NUXT_PORT=3000
|
||||
networks:
|
||||
- principal
|
||||
|
||||
volumes:
|
||||
nas-music:
|
||||
driver_opts:
|
||||
type: cifs
|
||||
o: username=nucleo000,password=${NAS_PASSWORD},addr=memoria.interno.com
|
||||
device: //memoria.interno.com/homes/nucleo000/musik
|
||||
|
||||
networks:
|
||||
principal:
|
||||
external: true
|
||||
Reference in New Issue
Block a user