compose
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +0,0 @@
|
|||||||
docker-compose.yml
|
|
||||||
5
build-deploy.sh
Normal file
5
build-deploy.sh
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
git pull
|
||||||
|
docker build -t rendiciones:latest .
|
||||||
|
docker compose up -d
|
||||||
11
docker-compose.yml
Normal file
11
docker-compose.yml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
name: rendiciones
|
||||||
|
services:
|
||||||
|
rendiciones:
|
||||||
|
ports:
|
||||||
|
- 5001:5000
|
||||||
|
volumes:
|
||||||
|
- YOUR_PATH/rendiciones/db:/app/db
|
||||||
|
- YOUR_PATH/rendiciones/static/cache:/app/static/cache
|
||||||
|
container_name: rendiciones-server
|
||||||
|
image: rendiciones:latest
|
||||||
|
restart: unless-stopped
|
||||||
Reference in New Issue
Block a user