-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
34 lines (30 loc) · 1.15 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
version: "3" # https://github.com/compose-spec/compose-spec/blob/3814397/spec.md#version-top-level-element
services:
cms:
extends:
file: docker-compose.dev.yml
service: cms
volumes:
# Prevent volume sync from host to container for specific directories
# FAQ: Prevents overwrite of container directory with empty host directory (which would happen with `static/` and `build/` on a clean setup)
# SEE: https://confluence.tacc.utexas.edu/x/DwAODQ (Solution E)
# The /static` dir is populated by `python … collectstatic` command
- /code/static
# Any `.../build` dirs are populated by `npm … build` command
# HACK: No confirmed support for dir globbing, so block all of `static/`
- /code/taccsite_cms/static
# CAVEAT: CMS projects must add a line to ignore thier `...build/` dirs
- /code/taccsite_custom/example_cms/static
postgres:
extends:
file: docker-compose.dev.yml
service: postgres
elasticsearch:
extends:
file: docker-compose.dev.yml
service: elasticsearch
volumes:
core_cms_postgres_data:
core_cms_es_data:
networks:
core_cms_net: