mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 07:25:35 +00:00
ci: force docker build on github workflows
Need to find a way to pull docker image and push Prisma migrations without reinstalling all packages
This commit is contained in:
@@ -42,7 +42,7 @@ DOCKER_USERNAME="Your docker username"
|
|||||||
DOCKER_PASSWORD="Your docker password"
|
DOCKER_PASSWORD="Your docker password"
|
||||||
SSH_HOST="Your SSH host"
|
SSH_HOST="Your SSH host"
|
||||||
SSH_PORT="Your SSH port" # use port 22 if you are using the default value
|
SSH_PORT="Your SSH port" # use port 22 if you are using the default value
|
||||||
SSH_USERNAME="Your SSH username"
|
SSH_USERNAME="Your SSH username" # private key
|
||||||
SSH_KEY="Your SSH key" # see below
|
SSH_KEY="Your SSH key" # see below
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -1,30 +1,16 @@
|
|||||||
version: "3.8"
|
version: "3.8"
|
||||||
|
|
||||||
volumes:
|
networks:
|
||||||
db_volume_data:
|
mylinks_app:
|
||||||
driver: local
|
external: true
|
||||||
|
|
||||||
services:
|
services:
|
||||||
# mylinks_db:
|
|
||||||
# container_name: MyLinksDB
|
|
||||||
# image: mysql:latest
|
|
||||||
# restart: always
|
|
||||||
# volumes:
|
|
||||||
# - db_volume_data:/var/lib/postgresql/data
|
|
||||||
# - ./docker-config/mysql-dev-init.sql:/docker-entrypoint-initdb.d/init.sql
|
|
||||||
# env_file:
|
|
||||||
# - .env
|
|
||||||
|
|
||||||
mylinks:
|
mylinks:
|
||||||
restart: always
|
restart: always
|
||||||
container_name: MyLinks
|
container_name: MyLinks
|
||||||
image: sonny93/my-links:latest
|
build:
|
||||||
# build:
|
context: .
|
||||||
# context: .
|
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:5000:3000
|
- "127.0.0.1:5000:3000"
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
# depends_on:
|
|
||||||
# mylinks_db:
|
|
||||||
# condition: service_started
|
|
||||||
|
|||||||
Reference in New Issue
Block a user