Flesh out docker-compose Cookiecutter template

This commit is contained in:
2022-06-04 23:36:18 +02:00
parent e6be888b91
commit 8b2c0cecca
27 changed files with 413 additions and 39 deletions

View File

@@ -0,0 +1,28 @@
services:
hashicorpvault:
image: "hashicorpvault:${HASHICORPVAULT_VERSION}"
container_name: "hashicorpvault-${CONTEXT}"
networks:
hashicorpvault-fsf:
extends:
file: common-settings.yml
service: common-settings
ports:
# - "8080:80"
volumes:
# - /opt/docker-data/hashicorpvault-fsf/data/db:/usr/lib/hashicorpvault
# - /opt/docker-data/hashicorpvault-fsf/data/logs:/var/log/hashicorpvault
# - /opt/docker-data/hashicorpvault-fsf/config:/etc/hashicorpvault
environment:
# HASHICORPVAULT_USER: ${HASHICORPVAULT_USER}
# HASHICORPVAULT_PASSWORD: ${HASHICORPVAULT_PASSWORD}
networks:
hashicorpvault-fsf:
name: hashicorpvault-fsf
driver: bridge
driver_opts:
com.docker.network.enable_ipv6: "false"
ipam:
driver: default
config:
# - subnet: 172.21.184.0/24