listo para deploy en gitea
This commit is contained in:
@@ -3,6 +3,7 @@ version: "3.9"
|
||||
services:
|
||||
node:
|
||||
build: ./node-api
|
||||
image: gitea.nucleoriofrio.com/nucleo000/radiusNucleo:latest
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
@@ -17,12 +18,9 @@ services:
|
||||
- PGDATABASE=radius
|
||||
- PGUSER=radius
|
||||
- PGPASSWORD=radius
|
||||
volumes:
|
||||
- ./node-api/index.js:/app/index.js:ro
|
||||
- ./node-api/src:/app/src:ro
|
||||
- ./frontend/dist:/app/public:ro
|
||||
networks:
|
||||
- radius_net
|
||||
- principal
|
||||
|
||||
freeradius:
|
||||
image: freeradius/freeradius-server:3.2.2
|
||||
@@ -48,6 +46,7 @@ services:
|
||||
command: ["-X"]
|
||||
networks:
|
||||
- radius_net
|
||||
- principal
|
||||
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
@@ -62,10 +61,13 @@ services:
|
||||
- "5432:5432"
|
||||
networks:
|
||||
- radius_net
|
||||
- principal
|
||||
|
||||
networks:
|
||||
radius_net:
|
||||
driver: bridge
|
||||
principal:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
|
||||
Reference in New Issue
Block a user