image instead of build in compose examples...

This commit is contained in:
BroodjeAap 2023-01-06 11:32:24 +00:00
parent 98d2ff2a0a
commit 742a99d9f3
6 changed files with 6 additions and 24 deletions

View file

@ -2,10 +2,7 @@ version: "3"
services: services:
app: app:
build: image: ghcr.io/broodjeaap/go-watch:latest
context: .
dockerfile: Dockerfile
target: base
container_name: go-watch container_name: go-watch
environment: environment:
- GOWATCH_BROWSERLESS_URL=http://browserless:3000/content - GOWATCH_BROWSERLESS_URL=http://browserless:3000/content

View file

@ -2,10 +2,7 @@ version: "3"
services: services:
app: app:
build: image: ghcr.io/broodjeaap/go-watch:latest
context: .
dockerfile: Dockerfile
target: base
container_name: go-watch container_name: go-watch
environment: environment:
- GOWATCH_BROWSERLESS_URL=http://browserless:3000/content - GOWATCH_BROWSERLESS_URL=http://browserless:3000/content

View file

@ -2,10 +2,7 @@ version: "3"
services: services:
app: app:
build: image: ghcr.io/broodjeaap/go-watch:latest
context: .
dockerfile: Dockerfile
target: base
container_name: go-watch container_name: go-watch
volumes: volumes:
- /host/path/to/config:/config - /host/path/to/config:/config

View file

@ -2,10 +2,7 @@ version: "3"
services: services:
app: app:
build: image: ghcr.io/broodjeaap/go-watch:latest
context: .
dockerfile: Dockerfile
target: base
container_name: go-watch container_name: go-watch
environment: environment:
- GOWATCH_DATABASE_DSN=postgres://gorm:gorm@db:5432/gorm - GOWATCH_DATABASE_DSN=postgres://gorm:gorm@db:5432/gorm

View file

@ -2,10 +2,7 @@ version: "3"
services: services:
app: app:
build: image: ghcr.io/broodjeaap/go-watch:latest
context: .
dockerfile: Dockerfile
target: base
container_name: go-watch container_name: go-watch
environment: environment:
- GOWATCH_BROWSERLESS_URL=http://browserless:3000/content - GOWATCH_BROWSERLESS_URL=http://browserless:3000/content

View file

@ -2,10 +2,7 @@ version: "3"
services: services:
app: app:
build: image: ghcr.io/broodjeaap/go-watch:latest
context: .
dockerfile: Dockerfile
target: base
container_name: go-watch container_name: go-watch
environment: environment:
- GOWATCH_DATABASE_DSN=postgres://gorm:gorm@db:5432/gorm - GOWATCH_DATABASE_DSN=postgres://gorm:gorm@db:5432/gorm