Skip to content

Instantly share code, notes, and snippets.

@sedkis
Created March 18, 2019 20:10
Show Gist options
  • Save sedkis/f9a4a3e0c6698d94be975aeae9d17b69 to your computer and use it in GitHub Desktop.
Save sedkis/f9a4a3e0c6698d94be975aeae9d17b69 to your computer and use it in GitHub Desktop.
version: '3.7'
services:
my-java-service:
image: 'my-java-service:latest'
secrets:
- source: my-secret-prd
target: my-secret
environment:
- SPRING_PROFILES_ACTIVE=prd
secrets:
my-secret-prd:
external: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment