image instead of build in compose examples...
This commit is contained in:
parent
98d2ff2a0a
commit
742a99d9f3
6 changed files with 6 additions and 24 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue