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: services:
danbooru: danbooru:
# image: evazion/danbooru image: evazion/danbooru
build: # build:
context: ../.. # context: ../..
dockerfile: config/docker/Dockerfile.danbooru # dockerfile: config/docker/Dockerfile.danbooru
ports: ports:
- "80:3000" - "80:3000"
environment: environment:
@@ -38,10 +38,10 @@ services:
user: root user: root
postgres: postgres:
# image: evazion/postgres image: evazion/postgres
build: # build:
context: . # context: .
dockerfile: Dockerfile.postgres # dockerfile: Dockerfile.postgres
environment: environment:
POSTGRES_USER: danbooru POSTGRES_USER: danbooru
POSTGRES_HOST_AUTH_METHOD: trust POSTGRES_HOST_AUTH_METHOD: trust