diff options
Diffstat (limited to 'stacks/.template')
| -rw-r--r-- | stacks/.template/.container.env | 13 | ||||
| -rw-r--r-- | stacks/.template/.env | 18 | ||||
| -rw-r--r-- | stacks/.template/compose.template.yml | 54 |
3 files changed, 0 insertions, 85 deletions
diff --git a/stacks/.template/.container.env b/stacks/.template/.container.env deleted file mode 100644 index 511f12d..0000000 --- a/stacks/.template/.container.env +++ /dev/null @@ -1,13 +0,0 @@ -# -# -# Stack Runtime Variables - -# Auth -USERNAME= -PASSWORD= - -SECRET= - -# Database -DB_USER= -ET_CETERA= diff --git a/stacks/.template/.env b/stacks/.template/.env deleted file mode 100644 index d8fd2d5..0000000 --- a/stacks/.template/.env +++ /dev/null @@ -1,18 +0,0 @@ -# -# -# Stack Compose Variables - -# Namespace -_STACK_0= -_CONTAINER_0= - -_STACK_1= -_CONTAINER_1= - -# Network -_NET_0= -_NET_1= - -# Volumes -_VOLUME_0= -_VOLUME_1= diff --git a/stacks/.template/compose.template.yml b/stacks/.template/compose.template.yml deleted file mode 100644 index 65895df..0000000 --- a/stacks/.template/compose.template.yml +++ /dev/null @@ -1,54 +0,0 @@ -## Template compose used for each stack. -name: ${_STACK_X} # Explicit project name (do not rely on directory name) - -networks: - net: - name: ${_NET_X} - external: true # All networks SHOULD be external in production. - net2: - name: ${_NET_Y} - external: true - -volumes: - data: - name: ${_VOLUME_X} # Naming Convention: _[PURPOSE]_VOLUME - external: true # All volumes SHOULD be external in production. - config: - name: ${_VOLUME_Y} - external: true - custom: - name: ${_VOLUME_Z} # Custom volumes may not be external depending on the stack. - # External volumes are not required for local stack testing. - -services: - servicename: - container_name: ${_CONTAINER_X} # Explicitly named containers. - image: ${_IMAGE_X} - restart: unless-stopped - env_file: - # NOTE: .compose.env WILL override .env if there are overlapping values. - - .compose.env # Compose wiring defaults go here - - .env # Service env vars - # Uncomment if bind mounting should not belong to root - # UID and GID MUST be set in .env - # user: '${UID}:${GID}' - volumes: - # Directory Bind Mounting - # - ./conf:/etc/service:ro - - # External Docker Volume Mount - - type: volume - source: data # Must exist if external; overridden in local dev - target: /data - - type: volume - source: config # Must exist if external; overridden in local dev - target: /config - - type: volume - source: custom # Must exist if external; overridden in local dev - target: /custom - networks: - - net - expose: - - 80 - - 9001 - - 67 |
