docker: use prebuilt docker images for quickstart script.

Use the prebuilt Docker images instead of building them locally in the
Docker Compose script. This is faster, but it means that local changes
to the code will be ignored.
This commit is contained in:
evazion
2021-05-21 06:46:06 -05:00
parent 6ca88f7e19
commit 01dbd34d68

View File

@@ -19,10 +19,10 @@ version: "3.4"
services:
danbooru:
# image: evazion/danbooru
build:
context: ../..
dockerfile: config/docker/Dockerfile.danbooru
image: evazion/danbooru
# build:
# context: ../..
# dockerfile: config/docker/Dockerfile.danbooru
ports:
- "80:3000"
environment:
@@ -38,10 +38,10 @@ services:
user: root
postgres:
# image: evazion/postgres
build:
context: .
dockerfile: Dockerfile.postgres
image: evazion/postgres
# build:
# context: .
# dockerfile: Dockerfile.postgres
environment:
POSTGRES_USER: danbooru
POSTGRES_HOST_AUTH_METHOD: trust