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:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Deploy n
|
||||
working-directory: /home/gkucmierz/docker/nonograms-app
|
||||
- name: Deploy nonograms-app
|
||||
run: |
|
||||
docker compose down --remove-orphans || true
|
||||
docker compose up -d --build
|
||||
|
||||
|
||||
@@ -1,19 +1,22 @@
|
||||
name: nonograms-app
|
||||
|
||||
services:
|
||||
app:
|
||||
nonograms-app:
|
||||
container_name: nonograms-app
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
# ports:
|
||||
# - "8081:80"
|
||||
# - "8083:80"
|
||||
expose:
|
||||
- "80"
|
||||
restart: unless-stopped
|
||||
# Uncomment the following lines if you want to mount the configuration locally for development/testing
|
||||
# volumes:
|
||||
# - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
networks:
|
||||
- npm_public
|
||||
npm_public:
|
||||
aliases:
|
||||
- nonograms-app
|
||||
|
||||
networks:
|
||||
npm_public:
|
||||
|
||||
Reference in New Issue
Block a user