Skip to content

Commit d4c1d87

Browse files
committed
Remove build section from compose files
1 parent ca922a8 commit d4c1d87

3 files changed

Lines changed: 8 additions & 13 deletions

File tree

admin/docker-compose-nginx.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
version: '3'
1+
version: "3"
22
services:
33
onlineconf-admin:
4-
build: .
5-
image: onlineconf-admin
6-
pull_policy: build
4+
image: ghcr.io/nikolo/onlineconf-admin:latest
75
depends_on:
86
onlineconf-database:
97
condition: service_healthy
@@ -33,7 +31,7 @@ services:
3331
MYSQL_USER: onlineconf
3432
MYSQL_PASSWORD: onlineconf
3533
healthcheck:
36-
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
34+
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
3735
timeout: 10s
3836
interval: 1s
3937
retries: 60

admin/docker-compose.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
version: '3'
1+
version: "3"
22
services:
33
onlineconf-admin:
4-
build: .
5-
image: onlineconf-admin
6-
pull_policy: build
4+
image: ghcr.io/nikolo/onlineconf-admin:latest
75
depends_on:
86
onlineconf-database:
97
condition: service_healthy
@@ -33,7 +31,7 @@ services:
3331
MYSQL_USER: onlineconf
3432
MYSQL_PASSWORD: onlineconf
3533
healthcheck:
36-
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
34+
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
3735
timeout: 10s
3836
interval: 1s
3937
retries: 60

updater/docker-compose.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
version: '3'
1+
version: "3"
22
services:
33
onlineconf-updater:
4-
build: .
5-
image: onlineconf-updater
4+
image: ghcr.io/nikolo/onlineconf-updater:latest
65
volumes:
76
- ./data:/usr/local/etc/onlineconf
87
environment:

0 commit comments

Comments
 (0)