docker: switch to DockerHub hosted builds in compose file

This commit is contained in:
Shyam Sunder 2019-09-30 22:12:53 -04:00
parent c9eae00c8c
commit 91f5a42459

View file

@ -5,9 +5,8 @@
version: '2' version: '2'
services: services:
api: server:
build: image: rrdash/szurubooru-server:latest
context: ./server
depends_on: depends_on:
- sql - sql
- elasticsearch - elasticsearch
@ -33,14 +32,11 @@ services:
- "${MOUNT_DATA}:/data" - "${MOUNT_DATA}:/data"
- "./server/config.yaml:/opt/app/config.yaml" - "./server/config.yaml:/opt/app/config.yaml"
client: client:
build: image: rrdash/szurubooru-client:latest
context: ./client
args:
BUILD_INFO:
depends_on: depends_on:
- api - server
environment: environment:
BACKEND_HOST: api BACKEND_HOST: server
BASE_URL: BASE_URL:
volumes: volumes:
- "${MOUNT_DATA}:/data:ro" - "${MOUNT_DATA}:/data:ro"