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:
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue