version: '3.8' services: jateway: build: ./ container_name: jateway restart: unless-stopped ports: - 8080:8080 environment: - SPRING_PROFILES_ACTIVE=default,example - SPRING_CONFIG_ADDITIONAL_LOCATION=/app/config/ volumes: - ./config:/app/config