creates kubernetes friendly deployment

This commit is contained in:
Robert Koch
2023-10-12 11:07:11 +11:00
parent 1ed1c9ea1d
commit b42153bcc4
10 changed files with 46 additions and 12 deletions

View File

@@ -27,14 +27,19 @@ services:
webapp:
container_name: bigcapital-webapp
image: ghcr.io/bigcapitalhq/webapp:latest
build:
context: ./
dockerfile: packages/webapp/Dockerfile
deploy:
restart_policy:
condition: unless-stopped
server:
container_name: bigcapital-server
image: ghcr.io/bigcapitalhq/server:latest
# image: ghcr.io/bigcapitalhq/server:latest
build:
context: ./
dockerfile: packages/server/Dockerfile
links:
- mysql
- mongo