separate volume for each content type
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
ad6965f5d0
commit
11840e956a
|
@ -251,7 +251,11 @@ services:
|
||||||
condition: any
|
condition: any
|
||||||
image: ${LOCAL_DOCKER_REGISTRY}ghost
|
image: ${LOCAL_DOCKER_REGISTRY}ghost
|
||||||
volumes:
|
volumes:
|
||||||
- ghost-content:/var/lib/ghost/content
|
- ghost-content-images:/var/lib/ghost/content/images
|
||||||
|
- ghost-content-settings:/var/lib/ghost/content/settings
|
||||||
|
- ghost-content-adapters:/var/lib/ghost/content/adapters
|
||||||
|
- ghost-content:/var/lib/ghost/content/old-content
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
- GIT_DOMAIN=$GIT_DOMAIN
|
- GIT_DOMAIN=$GIT_DOMAIN
|
||||||
- GHOST-MAIL-SERVICE=$GHOST-MAIL-SERVICE
|
- GHOST-MAIL-SERVICE=$GHOST-MAIL-SERVICE
|
||||||
|
@ -550,6 +554,9 @@ volumes:
|
||||||
letsencrypt-git:
|
letsencrypt-git:
|
||||||
letsencrypt-drone:
|
letsencrypt-drone:
|
||||||
ghost-content:
|
ghost-content:
|
||||||
|
ghost-content-adapters:
|
||||||
|
ghost-content-settings:
|
||||||
|
ghost-content-images:
|
||||||
mongo-chat:
|
mongo-chat:
|
||||||
chat-uploads:
|
chat-uploads:
|
||||||
portainer-data:
|
portainer-data:
|
||||||
|
|
|
@ -1,9 +1,15 @@
|
||||||
|
FROM alpine/git as git
|
||||||
|
|
||||||
|
WORKDIR /themes
|
||||||
|
RUN git clone https://sigyl.com/git/themes/casper.git
|
||||||
|
|
||||||
FROM ghost:3.14.0
|
FROM ghost:3.14.0
|
||||||
# USER root
|
# USER root
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get install -y gettext
|
RUN apt-get install -y gettext
|
||||||
|
|
||||||
COPY config.production.json /var/lib/ghost/
|
COPY config.production.json /var/lib/ghost/
|
||||||
|
COPY --from=git /themes/ /var/lib/ghost/content/themes/
|
||||||
COPY post.hbs /hbs/
|
COPY post.hbs /hbs/
|
||||||
COPY run.sh /
|
COPY run.sh /
|
||||||
CMD ["sh", "/run.sh"]
|
CMD ["sh", "/run.sh"]
|
||||||
|
|
Reference in New Issue