mirror of
https://github.com/r-freeman/portfolio.git
synced 2025-06-27 18:30:20 +00:00
Update docker_compose.sh
All checks were successful
Build And Publish / BuildAndPublish (push) Successful in 1m50s
All checks were successful
Build And Publish / BuildAndPublish (push) Successful in 1m50s
This commit is contained in:
parent
ea654c017e
commit
5e07e1abed
@ -1,8 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
cat > docker-compose.prod.yaml <<EOF
|
||||
networks:
|
||||
portfolio_net:
|
||||
driver: bridge
|
||||
name: portfolio_net
|
||||
|
||||
services:
|
||||
portfolio_frontend:
|
||||
container_name: portfolio_frontend
|
||||
image: portfolio/frontend
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./Dockerfile
|
||||
ports:
|
||||
- "${SERVER_IP}:3000:3000"
|
||||
- "${SERVER_PORT}:3000:3000"
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- portfolio_net
|
||||
EOF
|
||||
|
Loading…
x
Reference in New Issue
Block a user