Try deployement using docker-compose
Some checks failed
Deploy to Docker Container / deploy (push) Failing after 39s
Some checks failed
Deploy to Docker Container / deploy (push) Failing after 39s
This commit is contained in:
parent
15e571560b
commit
963396b9f3
|
|
@ -25,6 +25,9 @@ jobs:
|
|||
run: |
|
||||
docker stop dev || true && docker rm dev || true
|
||||
|
||||
- name: Run Docker container
|
||||
run: |
|
||||
docker run -d -p 8086:80 --name dev thethomaas/11ty-workflow-example:latest
|
||||
# - name: Run Docker container
|
||||
# run: |
|
||||
# docker run -d -p 8086:80 --name dev thethomaas/11ty-workflow-example:latest
|
||||
|
||||
- name: Start Docker Compose container
|
||||
run: docker-compose up -d
|
||||
|
|
@ -1,10 +1,7 @@
|
|||
version: '3'
|
||||
|
||||
services:
|
||||
dev:
|
||||
image: thethomaas/11ty-workflow-example
|
||||
# image: gitea.local.thethomaas.net/thethomaas/11ty-workflow-example
|
||||
name: dev
|
||||
image: thethomaas/11ty-workflow-example:latest
|
||||
ports:
|
||||
- '8086:80'
|
||||
volumes:
|
||||
- /mnt/appdata/dev/dist:/usr/share/nginx/html:ro
|
||||
restart: unless-stopped
|
||||
Loading…
Reference in a new issue