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:
app:
build:
context: .
dockerfile: Dockerfile
target: base
image: ghcr.io/broodjeaap/go-watch:latest
container_name: go-watch
environment:
- GOWATCH_BROWSERLESS_URL=http://browserless:3000/content

View file

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

View file

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

View file

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

View file

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

View file

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