Update docker-compose name and service aliases, adjust deploy workflow
All checks were successful
Build and Deploy / deploy (push) Successful in 7s
All checks were successful
Build and Deploy / deploy (push) Successful in 7s
This commit is contained in:
@@ -10,8 +10,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Deploy n
|
- name: Deploy nonograms-app
|
||||||
working-directory: /home/gkucmierz/docker/nonograms-app
|
|
||||||
run: |
|
run: |
|
||||||
docker compose down --remove-orphans || true
|
docker compose down --remove-orphans || true
|
||||||
docker compose up -d --build
|
docker compose up -d --build
|
||||||
|
|
||||||
|
|
||||||
@@ -1,19 +1,22 @@
|
|||||||
|
name: nonograms-app
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
nonograms-app:
|
||||||
container_name: nonograms-app
|
container_name: nonograms-app
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
# ports:
|
# ports:
|
||||||
# - "8081:80"
|
# - "8083:80"
|
||||||
expose:
|
expose:
|
||||||
- "80"
|
- "80"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
# Uncomment the following lines if you want to mount the configuration locally for development/testing
|
|
||||||
# volumes:
|
# volumes:
|
||||||
# - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
# - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||||
networks:
|
networks:
|
||||||
- npm_public
|
npm_public:
|
||||||
|
aliases:
|
||||||
|
- nonograms-app
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
npm_public:
|
npm_public:
|
||||||
|
|||||||
Reference in New Issue
Block a user